public final class SelfRegistrationUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.util.ReferenceList |
buildRefList(javax.servlet.http.HttpServletRequest request,
String strPropertiesItemsNumber,
String strPropertiesLabel)
Build a reference list
|
static boolean |
checkPassword(String strPassword,
String strConfirmation)
Check the password with the password confirmation string
Check if password is empty
|
static boolean |
checkValueOnPattern(String strPattern,
String strValue)
Check a given string against a given pattern
|
static String |
getCodeOfLabel(javax.servlet.http.HttpServletRequest request,
String strPropertiesItemsNumber,
String strPropertiesLabel,
String strLabel)
Get the code of strLabel
|
public static boolean checkPassword(String strPassword, String strConfirmation)
strPassword - The passwordstrConfirmation - The password confirmationpublic static boolean checkValueOnPattern(String strPattern, String strValue)
strPattern - the pattern to matchstrValue - the value to checkpublic static fr.paris.lutece.util.ReferenceList buildRefList(javax.servlet.http.HttpServletRequest request,
String strPropertiesItemsNumber,
String strPropertiesLabel)
request - the requeststrPropertiesItemsNumber - the properties item numberstrPropertiesLabel - the properties labelpublic static String getCodeOfLabel(javax.servlet.http.HttpServletRequest request, String strPropertiesItemsNumber, String strPropertiesLabel, String strLabel)
request - the requeststrPropertiesItemsNumber - the properties item numberstrPropertiesLabel - the properties labelstrLabel - the label to compareCopyright © 2017 City of Paris. All rights reserved.