Class FreeIPAAccountState


  • public class FreeIPAAccountState
    extends AccountState
    Represents the state of a FreeIPA account.
    • Constructor Detail

      • FreeIPAAccountState

        public FreeIPAAccountState​(ZonedDateTime exp,
                                   int remaining)
        Creates a new freeipa account state.
        Parameters:
        exp - account expiration
        remaining - number of logins available
      • FreeIPAAccountState

        public FreeIPAAccountState​(FreeIPAAccountState.Error error)
        Creates a new freeipa account state.
        Parameters:
        error - containing authentication failure details
    • Method Detail

      • getFreeIPAError

        public FreeIPAAccountState.Error getFreeIPAError()
        Returns the freeipa error for this account state.
        Returns:
        freeipa error