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, setUserNamepublic LDAPAuthenticationService()
public ProxyEntity authenticate(Domain d) throws AuthenticationException
authenticate in class AuthenticationServiceAuthenticationExceptionpublic ProxyEntity authenticate(Domain d, java.lang.String dn, java.lang.String password) throws AuthenticationException
AuthenticationExceptionpublic ProxyEntity authenticate(Domain d, java.lang.String username, java.lang.String password, java.lang.String org) throws AuthenticationException
AuthenticationExceptionpublic void unauthenticate(ProxyEntity pentity) throws AuthenticationException
AuthenticationServiceunauthenticate in class AuthenticationServiceAuthenticationException