public class LDAPCheckImpl extends java.lang.Object implements LDAPCheckInterface
Constructor and Description |
---|
LDAPCheckImpl() |
LDAPCheckImpl(java.lang.String options) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
checkAuth(java.lang.String auth,
java.lang.String factory)
Check the authentication string at the LDAP Server.
|
NameValue[] |
checkAuthNameValue(NameValue[] nvauth,
java.lang.String factory)
Check the authentication name value array at the LDAP Server.
|
void |
close()
Close the connections that are necessary to made the checks.
|
void |
init(java.lang.String factory)
Initialize the LDAP communication
|
public LDAPCheckImpl()
public LDAPCheckImpl(java.lang.String options)
public void init(java.lang.String factory)
init
in interface LDAPCheckInterface
factory
- the name of the factorypublic java.lang.String checkAuth(java.lang.String auth, java.lang.String factory)
checkAuth
in interface LDAPCheckInterface
auth
- the authentication stringfactory
- the name of the factoryLDAPCheckInterface.checkAuth(java.lang.String, java.lang.String)
public NameValue[] checkAuthNameValue(NameValue[] nvauth, java.lang.String factory)
checkAuthNameValue
in interface LDAPCheckInterface
nvauth
- the authentication name value arrayfactory
- the name of the factoryLDAPCheckInterface.checkAuthNameValue(org.asam.ods.NameValue[], java.lang.String)
public void close()
close
in interface LDAPCheckInterface