Package rife.authentication.credentials
Interface RoleUserCredentials
- All Superinterfaces:
Credentials
,RememberMe
,Validated
- All Known Implementing Classes:
RoleUser
This interface needs to be implemented by all credentials classes that
work with RoleUsersManager
s, which
is the default user management in RIFE.
Credentials aren't the same as the actual account information of a user, they provide the data that is submitted and that needs to be verified.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetLogin()
Retrieves the submitted login.Retrieves the submitted password.getRole()
Retrieves the submitted role.void
Sets the login to submit.void
setPassword
(String password) Sets the password to submit.void
Sets the role to submit.Methods inherited from interface rife.authentication.credentials.RememberMe
getRemember, setRemember
Methods inherited from interface rife.validation.Validated
addConstrainedPropertyRules, addGroup, addRule, addValidationError, countValidationErrors, focusGroup, generateConstrainedPropertyRules, getGroup, getGroups, getLoadingErrors, getRules, getValidatedSubjects, getValidationErrors, isSubjectValid, limitSubjectErrors, makeErrorValid, makeSubjectValid, provideValidatedBean, replaceValidationErrors, resetGroup, resetValidation, retrieveValidatedBean, unlimitSubjectErrors, validate, validate, validateGroup, validateGroup
-
Method Details
-
getLogin
String getLogin()Retrieves the submitted login.- Returns:
- the login
- Since:
- 1.0
-
setLogin
Sets the login to submit.- Parameters:
login
- the login- Since:
- 1.0
-
getPassword
String getPassword()Retrieves the submitted password.- Returns:
- the password
- Since:
- 1.0
-
setPassword
Sets the password to submit.- Parameters:
password
- the password- Since:
- 1.0
-
getRole
String getRole()Retrieves the submitted role.- Returns:
- the role
- Since:
- 1.0
-
setRole
Sets the role to submit.- Parameters:
role
- the role- Since:
- 1.0
-