|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.selfregistration.business.LdapUserHome
public final class LdapUserHome
LdapUserHome Class
| Method Summary | |
|---|---|
static boolean |
checkOldPassword(java.lang.String strUid,
java.lang.String strOldPassword)
check if the Old Password equals the password associete to the uid |
static void |
closeConnexion(javax.naming.directory.DirContext ldapContext)
Close connexion to the ldap |
static LdapUser |
getLdapUserByUid(javax.servlet.http.HttpServletRequest request,
java.lang.String strUid)
Return the ldapuser if exist |
static void |
modification(LdapUser ldapUser)
Modify the attributes user into the ldap |
static javax.naming.directory.DirContext |
openConnexion()
Open connexion to the ldap |
static void |
registration(LdapUser ldapUser)
Add an user into the ldap |
static boolean |
uidExit(java.lang.String strUid)
Test if user exist |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.naming.directory.DirContext openConnexion()
throws javax.naming.NamingException
javax.naming.NamingException - the naming exception
public static void closeConnexion(javax.naming.directory.DirContext ldapContext)
throws javax.naming.NamingException
ldapContext - the ldap context
javax.naming.NamingException - the naming exception
public static void registration(LdapUser ldapUser)
throws javax.naming.NamingException
ldapUser - the user to add in ldap
javax.naming.NamingException - the naming exception
public static boolean uidExit(java.lang.String strUid)
throws javax.naming.NamingException
strUid - the uid of user
javax.naming.NamingException - the naming exception
public static 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 naming exception
public static 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 naming exception
public static void modification(LdapUser ldapUser)
throws javax.naming.NamingException
ldapUser - the user to add in ldap
javax.naming.NamingException - the naming exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||