Class UserData
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.util.user.UserData
A wrapper for userName, userPass and userRoles.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new UserData with the given maximum username and password lengths.Create a new UserData with the standard maximum username and password lengths. -
Method Summary
-
Field Details
-
MAX_PASSWORD_LENGTH
public static final int MAX_PASSWORD_LENGTH- See Also:
-
MAX_USERNAME_LENGTH
public static final int MAX_USERNAME_LENGTH- See Also:
-
userName
-
userPass
-
roles
-
-
Constructor Details
-
UserData
Create a new UserData with the standard maximum username and password lengths.- Parameters:
userName- the user name to use.userPass- the password to use.
-
UserData
Create a new UserData with the given maximum username and password lengths.- Parameters:
userName- the user name to use.maxNameLength- the maximum length of the username to check for.userPass- the password to use.maxPassLength- the maximum length of the password to check for.
-
-
Method Details