Package com.saperion.connector.ldap
Class SaLDAPAuthenticator
- java.lang.Object
-
- com.saperion.connector.ldap.SaLDAPAuthenticator
-
public final class SaLDAPAuthenticator extends java.lang.ObjectLDAP Authenification.- Author:
- rbo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.naming.directory.DirContextauthenticate(java.lang.String name, char[] password)Authenicates the given user against the LDAP server.static SaLDAPAuthenticatorgetInstance(java.util.Properties props)Get the instance of this class.
-
-
-
Method Detail
-
getInstance
public static SaLDAPAuthenticator getInstance(java.util.Properties props)
Get the instance of this class.- Parameters:
props- Server properties- Returns:
- Authenticator
-
authenticate
public javax.naming.directory.DirContext authenticate(java.lang.String name, char[] password) throws SaSystemExceptionAuthenicates the given user against the LDAP server.- Parameters:
name- Usernamepassword- Password- Returns:
- The context of this user
- Throws:
SaSystemException- The SaRMICommandException
-
-