org.ldaptive.auth.ext
Class FreeIPAAccountState

java.lang.Object
  extended by org.ldaptive.auth.AccountState
      extended by org.ldaptive.auth.ext.FreeIPAAccountState

public class FreeIPAAccountState
extends AccountState

Represents the state of a FreeIPA account.

Version:
$Revision: 3149 $
Author:
tduehr

Nested Class Summary
static class FreeIPAAccountState.Error
          Enum to define FreeIPA errors.
 
Nested classes/interfaces inherited from class org.ldaptive.auth.AccountState
AccountState.DefaultWarning, AccountState.Warning
 
Constructor Summary
FreeIPAAccountState(Calendar exp, int remaining)
          Creates a new freeipa account state.
FreeIPAAccountState(FreeIPAAccountState.Error error)
          Creates a new freeipa account state.
 
Method Summary
 FreeIPAAccountState.Error getFreeIPAError()
          Returns the freeipa error for this account state.
 
Methods inherited from class org.ldaptive.auth.AccountState
getError, getErrors, getWarning, getWarnings, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreeIPAAccountState

public FreeIPAAccountState(Calendar 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


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.