public class LDAPAuthenticationService extends AuthenticationService
authListener, credential, operationName, password, serviceURL, userName
Constructor and Description |
---|
LDAPAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
ProxyEntity |
authenticate(Domain d)
Use LDAP to authenticate the user
|
ProxyEntity |
authenticate(Domain d,
java.lang.String dn,
java.lang.String password)
this method authenticates using a full dn instead of breaking it into
username and org
|
ProxyEntity |
authenticate(Domain d,
java.lang.String username,
java.lang.String password,
java.lang.String org)
this method authenticates without creating a gui popup window for the
user.
|
void |
unauthenticate(ProxyEntity pentity)
Unauthenticate a user
|
getCredential, isAuthenticated, setAuthenticationListener, setOperationName, setPassword, setServiceURL, setUserName
public LDAPAuthenticationService()
public ProxyEntity authenticate(Domain d) throws AuthenticationException
authenticate
in class AuthenticationService
AuthenticationException
public ProxyEntity authenticate(Domain d, java.lang.String dn, java.lang.String password) throws AuthenticationException
AuthenticationException
public ProxyEntity authenticate(Domain d, java.lang.String username, java.lang.String password, java.lang.String org) throws AuthenticationException
AuthenticationException
public void unauthenticate(ProxyEntity pentity) throws AuthenticationException
AuthenticationService
unauthenticate
in class AuthenticationService
AuthenticationException