public interface LDAPCheckInterface
Implementors can use RuntimeException at every point to signal internal problems.
If the implementation allows a default constructor, AoFactory will use it to get an instance. If the implementation doesn't allow the default constructor, AoFactory tries to get the instance by passing an options string to the constructor.
Once an instance is created by the AoFactory, it will be used before a session is created to convert the options string of session.
AoFactory
,
LDAPCheckImpl
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 namevalue 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.
|
void init(java.lang.String factory)
factory
- the name of the factory or servicejava.lang.String checkAuth(java.lang.String auth, java.lang.String factory) throws AoException
auth
- the authentication stringfactory
- the name of the factory or servicethe
- ASAM ODS Exception whit the error code AO_CONNECT_REFUSED.AoException
NameValue[] checkAuthNameValue(NameValue[] nvauth, java.lang.String factory) throws AoException
nvauth
- the authentication namevalue arrayfactory
- the name of the factory or servicethe
- ASAM ODS Exception whit the error code AO_CONNECT_REFUSED.AoException
void close()