static java.lang.String |
SecurityUtils.buildPassword(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strUserPassword) |
Build the password depending of the encryption.
|
static java.lang.String |
SecurityUtils.checkPasswordForBackOffice(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPassword,
javax.servlet.http.HttpServletRequest request) |
Test a password validity
|
static java.lang.String |
SecurityUtils.checkPasswordForFrontOffice(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPassword,
int nUserId) |
Test a password validity
|
static java.util.Map<java.lang.String,java.lang.Object> |
SecurityUtils.checkSecurityParameters(IUserParameterService parameterService,
java.util.Map<java.lang.String,java.lang.Object> model,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Loads a model with base security parameters
|
static java.sql.Timestamp |
SecurityUtils.getAccountMaxValidDate(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Compute the maximum valid date of an account with the current time and the parameters in the database.
|
static java.lang.String[] |
SecurityUtils.getBannedDomainNames(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get an array containing banned domain names for email adresses
|
static boolean |
SecurityUtils.getBooleanSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strParameterkey) |
Get the boolean value of a security parameter
|
static int |
SecurityUtils.getIntegerSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strParameterkey) |
Get the integer value of a security parameter
|
static java.lang.String |
SecurityUtils.getLargeSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strParameterkey) |
Get the large value of a security parameter.
|
static int |
SecurityUtils.getMaximumNumberPasswordChange(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the maximum number of time a user can change his password in a given period
|
static java.lang.String |
SecurityUtils.getMessageFrontPasswordFormat(java.util.Locale locale,
IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Gets the password message format required format
|
static int |
SecurityUtils.getPasswordDuration(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the password duration
|
static int |
SecurityUtils.getPasswordHistorySize(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the password history size
|
static java.sql.Timestamp |
SecurityUtils.getPasswordMaxValidDate(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the current maximum valid date of a password from the parameter service.
|
static java.lang.String |
SecurityUtils.getSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strParameterkey) |
Get the value of a security parameter
|
static int |
SecurityUtils.getTSWSizePasswordChange(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the size of the time sliding window of passwor change
|
static boolean |
SecurityUtils.isAdvancedSecurityParametersUsed(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Get the parameter indicating that a password must contain numbers.
|
static java.lang.String |
SecurityUtils.makePassword(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Generate a new random password
|
static void |
SecurityUtils.removeAdvancedSecurityParameters(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Remove the advanced security parameters
|
static void |
SecurityUtils.updateLargeParameterValue(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strKey,
java.lang.String strValue) |
Updates a parameter from its key with a new value.
|
static void |
SecurityUtils.updateParameterValue(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strKey,
java.lang.String strValue) |
Updates a parameter from its key with a new value.
|
static void |
SecurityUtils.updateSecurityParameters(IUserParameterService parameterService,
javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Update security parameters from request parameters
|
static void |
SecurityUtils.useAdvancedSecurityParameters(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Enable advanced security parameters
|