User AuthenticationMode
The following User object functions work with the AuthenticationMode
on a per user basis. They can be used to configure authentication
for each user.
- SetCQAuthentication(new_password);
Sets the user account AuthenticationMode to
CQ_AUTHENTICATION
which uses the traditional HCL Compass type of user authentication. - SetLDAPAuthentication(LDAP_login_name);
Sets the user account AuthenticationMode to
LDAP_AUTHENTICATION
which authenticates against an LDAP server. The schema repository must be configured for LDAP authentication. - GetAuthenticationMode( );
Returns the current AuthenticationMode of the user.
Note: The User authentication functions are valid independently of
the setting of the AuthenticationAlgorithm for the schema repository
as a whole.
Setting the AuthenticationMode for a user impacts the passwords for that Compass user account.
See SetCQAuthentication and SetLDAPAuthentication.
In version 2003.06.14, new methods were implemented for retrieving a user login name that support HCL Compass user names and LDAP login names. See New methods for retrieving user login information.