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
  • Method Details

    • 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