Interface UserState


  • public interface UserState
    Represents the state of a user after authentication.
    Since:
    1.0
    Author:
    Sergio del Amo
    • Method Detail

      • getUsername

        java.lang.String getUsername()
        Returns:
        The username
      • getPassword

        java.lang.String getPassword()
        Returns:
        The encrypted password
      • isEnabled

        boolean isEnabled()
        Returns:
        true if the user account is enabled
      • isAccountExpired

        boolean isAccountExpired()
        Returns:
        true if the user account is expired
      • isAccountLocked

        boolean isAccountLocked()
        Returns:
        true if the user account is locked
      • isPasswordExpired

        boolean isPasswordExpired()
        Returns:
        true if the user has an expired password