public class LDAPCheck extends LDAPCheckBase
BUNDLE, INITCTX, SPACE| Constructor and Description |
|---|
LDAPCheck()
The default constructor.
|
LDAPCheck(java.lang.String options)
The constructor, that gets the parameter passed to Avalon via the keyword.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
checkAttributes(java.util.HashMap<java.lang.String,java.lang.String> map,
java.lang.String service,
javax.naming.directory.Attributes attrs)
Check the attributes and return the authentication string.
|
NameValue[] |
checkAuthNameValue(NameValue[] nvauth,
java.lang.String factory)
Check the authentication namevalue array at the LDAP Server.
|
static void |
main(java.lang.String[] args)
If the service is configurated using the property file,
this method can be used to test the implementation.
|
checkAuth, close, init, printAttributespublic LDAPCheck()
public LDAPCheck(java.lang.String options)
options - public java.lang.String checkAttributes(java.util.HashMap<java.lang.String,java.lang.String> map,
java.lang.String service,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
checkAttributes in class LDAPCheckBasemap - the map containing the incoming authentication entries.service - the name of the service.attrs - the attributes of the found LDAP entry.javax.naming.NamingExceptionpublic NameValue[] checkAuthNameValue(NameValue[] nvauth, java.lang.String factory) throws AoException
checkAuthNameValue in interface LDAPCheckInterfacecheckAuthNameValue in class LDAPCheckBasenvauth - the authentication namevalue arrayfactory - the name of the factory or serviceAoExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Throwable
args - the commandline arguments.java.lang.Throwable