|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.database.authentication.service.key.DatabaseUserKeyService
public final class DatabaseUserKeyService
DatabaseUserKeyService
| Method Summary | |
|---|---|
DatabaseUserKey |
create(int nUserId)
Create a new user key from a given user id |
DatabaseUserKey |
findByPrimaryKey(java.lang.String strKey)
Find the key |
static DatabaseUserKeyService |
getService()
Get the instance of the service |
java.lang.String |
getValidationUrl(java.lang.String strKey,
javax.servlet.http.HttpServletRequest request)
Build the validation url |
void |
remove(java.lang.String strKey)
Remove a key |
void |
removeByIdUser(int nUserId)
Remove a key from a given id user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DatabaseUserKeyService getService()
public DatabaseUserKey create(int nUserId)
nUserId - the id user
public DatabaseUserKey findByPrimaryKey(java.lang.String strKey)
strKey - the key
public void remove(java.lang.String strKey)
strKey - the keypublic void removeByIdUser(int nUserId)
nUserId - the id user
public java.lang.String getValidationUrl(java.lang.String strKey,
javax.servlet.http.HttpServletRequest request)
strKey - the keyrequest - the HTTP request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||