Package | Description |
---|---|
fr.paris.lutece.plugins.mylutece.service | |
fr.paris.lutece.plugins.mylutece.util |
Modifier and Type | Method and Description |
---|---|
abstract IUserParameterService |
AbstractAccountLifeTimeDaemon.getParameterService()
Get the Parameter service to use
|
Modifier and Type | Method and Description |
---|---|
static String |
SecurityUtils.buildPassword(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strUserPassword)
Build the password depending of the encryption.
|
static String |
SecurityUtils.checkPasswordForBackOffice(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPassword,
javax.servlet.http.HttpServletRequest request)
Test a password validity
|
static String |
SecurityUtils.checkPasswordForFrontOffice(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPassword,
int nUserId)
Test a password validity
|
static Map<String,Object> |
SecurityUtils.checkSecurityParameters(IUserParameterService parameterService,
Map<String,Object> model,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads a model with base security parameters
|
static 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 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,
String strParameterkey)
Get the boolean value of a security parameter
|
static int |
SecurityUtils.getIntegerSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strParameterkey)
Get the integer value of a security parameter
|
static String |
SecurityUtils.getLargeSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
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 String |
SecurityUtils.getMessageFrontPasswordFormat(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 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 String |
SecurityUtils.getSecurityParameter(IUserParameterService parameterService,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
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 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,
String strKey,
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,
String strKey,
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
|
Copyright © 2021 City of Paris. All rights reserved.