fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.key
Interface IMyluteceDirectoryUserKeyService

All Known Implementing Classes:
MyluteceDirectoryUserKeyService

public interface IMyluteceDirectoryUserKeyService

IMyluteceDirectoryUserKeyService


Method Summary
 MyluteceDirectoryUserKey create(int nIdRecord)
          Create a new user key from a given user id
 MyluteceDirectoryUserKey findByPrimaryKey(java.lang.String strKey)
          Find the key
 java.lang.String getReinitUrl(java.lang.String strKey, javax.servlet.http.HttpServletRequest request)
          Get reinit url
 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 removeByIdRecord(int nIdRecord)
          Remove a key from a given id user
 

Method Detail

create

MyluteceDirectoryUserKey create(int nIdRecord)
Create a new user key from a given user id

Parameters:
nIdRecord - the id record
Returns:
the key

findByPrimaryKey

MyluteceDirectoryUserKey findByPrimaryKey(java.lang.String strKey)
Find the key

Parameters:
strKey - the key
Returns:
the key

remove

void remove(java.lang.String strKey)
Remove a key

Parameters:
strKey - the key

removeByIdRecord

void removeByIdRecord(int nIdRecord)
Remove a key from a given id user

Parameters:
nIdRecord - the id record

getValidationUrl

java.lang.String getValidationUrl(java.lang.String strKey,
                                  javax.servlet.http.HttpServletRequest request)
Build the validation url

Parameters:
strKey - the key
request - the HTTP request
Returns:
the validation url

getReinitUrl

java.lang.String getReinitUrl(java.lang.String strKey,
                              javax.servlet.http.HttpServletRequest request)
Get reinit url

Parameters:
strKey - the key
request - the HTTP request
Returns:
the url


Copyright © 2012 Mairie de Paris. All Rights Reserved.