|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.heracles.api.Heracles
public abstract class Heracles
Title: Heracles.java
Description: This Class is the api of the heracles project
Java Version: JDK 1.5
Field Summary | |
---|---|
private static Heracles |
heracles
|
Constructor Summary | |
---|---|
Heracles()
|
Method Summary | |
---|---|
abstract LdapUser |
authAdvanced(java.lang.String username,
java.lang.String password)
This method takes the usersername and the password as Strings and does the authentication. |
abstract void |
authSimple(java.lang.String username,
java.lang.String password)
This method takes the usersername and the password as Strings and does the authentication. |
static Heracles |
getHeracles()
Clients get over this method an instance of the heracles project api |
abstract java.util.List<LdapUser> |
searchInLdap(java.lang.String domainName,
java.lang.String where,
java.lang.String like)
This method could be used to search in the ldap for something, the result will be come as a List. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static Heracles heracles
Constructor Detail |
---|
public Heracles()
Method Detail |
---|
public abstract void authSimple(java.lang.String username, java.lang.String password) throws javax.security.auth.login.LoginException, HeraclesException
username
- password
-
javax.security.auth.login.LoginException
HeraclesException
public abstract LdapUser authAdvanced(java.lang.String username, java.lang.String password) throws javax.security.auth.login.LoginException, javax.naming.NamingException, HeraclesException
username
- password
-
javax.security.auth.login.LoginException
javax.naming.NamingException
HeraclesException
public abstract java.util.List<LdapUser> searchInLdap(java.lang.String domainName, java.lang.String where, java.lang.String like) throws javax.naming.NamingException, HeraclesException
where
- specified the ldap attributlike
- specified the search stringdomainName
- specified the domain of the search
javax.naming.NamingException
HeraclesException
public static Heracles getHeracles()
Heracles
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |