此内容没有您所选择的语言版本。

2.2. Enabling User Login Normalization


You can enforce normalization for user logins by enabling a selection of default or custom methods on the broker. This is helpful when using authentication methods like LDAP or Kerberos that can be case-sensitive or use a domain in the login. Without normalization, logins with different letter cases or domain suffixes are stored by the broker as distinct user accounts.
For example, when normalization is enabled using the lowercase method, a user logging in as JDoe is authenticated using the configured authentication method, then the login is normalized as jdoe by the broker to access the jdoe user account on OpenShift Enterprise. When normalization is not enabled, a user logging in as JDoe is authenticated using the configured authentication method and accesses the JDoe user account on OpenShift Enterprise, while a user logging in as jdoe ultimately accesses a separate jdoe user account.

Warning

Existing logins are not automatically updated when normalization settings are changed. As a result, it is possible for existing user accounts to no longer be accessible if the login was not previously normalized.
The following default methods are available:
Expand
Table 2.1. Available Default User Login Normalization Methods
Method Function
strip Removes any additional spaces on either side of the login.
lowercase Changes all characters to lowercase. For example: JDoe --> jdoe
remove_domain Removes a domain suffix. For example: jdoe@example.com --> jdoe
To enable normalization, edit the /etc/openshift/broker.conf file on the broker host and provide one or more methods in the NORMALIZE_USERNAME_METHOD parameter using a comma-separated list:

Example 2.1. Setting User Login Normalization Methods

NORMALIZE_USERNAME_METHOD="lowercase,remove_domain"
Copy to Clipboard Toggle word wrap
Restart the broker service for any changes to take effect:
service openshift-broker restart
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat