|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILdapUserDAO
ILdapUserDAO Interface
| Method Summary | |
|---|---|
boolean |
checkOldPassword(java.lang.String strUid,
java.lang.String strOldPassword)
check if the Old Password equals the password associete to the uid |
void |
closeConnexion(javax.naming.directory.DirContext ldapContext)
Close connexion to the ldap |
LdapUser |
getLdapUserByUid(javax.servlet.http.HttpServletRequest request,
java.lang.String strUid)
Return the ldapuser if exist |
void |
modification(LdapUser ldapUser)
Modify the attributes user into the ldap |
javax.naming.directory.DirContext |
openConnexion()
Open connexion to the ldap |
void |
registration(LdapUser ldapUser)
Add an user into the ldap |
boolean |
uidExit(java.lang.String strUid)
Test if user exist |
| Method Detail |
|---|
javax.naming.directory.DirContext openConnexion()
throws javax.naming.NamingException
javax.naming.NamingException - the namming exception
void closeConnexion(javax.naming.directory.DirContext ldapContext)
throws javax.naming.NamingException
ldapContext - the ldap context
javax.naming.NamingException - the namming exception
void registration(LdapUser ldapUser)
throws javax.naming.NamingException
ldapUser - the user to add in ldap
javax.naming.NamingException - the namming exception
boolean uidExit(java.lang.String strUid)
throws javax.naming.NamingException
strUid - the uid of user
javax.naming.NamingException - the namming exception
boolean checkOldPassword(java.lang.String strUid,
java.lang.String strOldPassword)
throws javax.naming.NamingException
strUid - the uid of userstrOldPassword - the password to check
javax.naming.NamingException - the namming exception
LdapUser getLdapUserByUid(javax.servlet.http.HttpServletRequest request,
java.lang.String strUid)
throws javax.naming.NamingException
request - the http requeststrUid - the uid of user
javax.naming.NamingException - the namming exception
void modification(LdapUser ldapUser)
throws javax.naming.NamingException
ldapUser - the user to add in ldap
javax.naming.NamingException - the namming exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||