com.uwyn.rife.authentication.credentials
Interface RoleUserCredentials

All Superinterfaces:
Credentials, RememberMe, Validated
All Known Implementing Classes:
RoleUser

public interface RoleUserCredentials
extends Credentials, RememberMe

This interface needs to be implemented by all credentials classes that work with RoleUsersManagers, 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
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Method Summary
 String getLogin()
          Retrieves the submitted login.
 String getPassword()
          Retrieves the submitted password.
 String getRole()
          Retrieves the submitted role.
 void setLogin(String login)
          Sets the login to submit.
 void setPassword(String password)
          Sets the password to submit.
 void setRole(String role)
          Sets the role to submit.
 
Methods inherited from interface com.uwyn.rife.site.Validated
addRule, addValidationError, countValidationErrors, getRules, getValidatedSubjects, getValidationErrors, isSubjectValid, limitSubjectErrors, makeErrorValid, makeSubjectValid, provideValidatedBean, replaceValidationErrors, resetValidation, retrieveValidatedBean, unlimitSubjectErrors, validate, validate
 
Methods inherited from interface com.uwyn.rife.authentication.credentials.RememberMe
getRemember, setRemember
 

Method Detail

getLogin

String getLogin()
Retrieves the submitted login.

Returns:
the login
Since:
1.0

setLogin

void setLogin(String login)
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

void setPassword(String password)
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

void setRole(String role)
Sets the role to submit.

Parameters:
role - the role
Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.