Class ActiveDirectoryAccountState


  • public class ActiveDirectoryAccountState
    extends AccountState
    Represents the state of an Active Directory account. Note that the warning returned by this implementation always returns -1 for logins remaining.
    • Constructor Detail

      • ActiveDirectoryAccountState

        public ActiveDirectoryAccountState​(ZonedDateTime exp)
        Creates a new active directory account state.
        Parameters:
        exp - account expiration
      • ActiveDirectoryAccountState

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

      • getActiveDirectoryError

        public ActiveDirectoryAccountState.Error getActiveDirectoryError()
        Returns the active directory error for this account state.
        Returns:
        active directory error