org.ldaptive.auth.ext
Class EDirectoryAccountState

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

public class EDirectoryAccountState
extends AccountState

Represents the state of an eDirectory account.

Version:
$Revision: 3120 $ $Date: 2015-10-01 11:50:02 -0400 (Thu, 01 Oct 2015) $
Author:
Middleware Services

Nested Class Summary
static class EDirectoryAccountState.Error
          Enum to define edirectory errors.
 
Nested classes/interfaces inherited from class org.ldaptive.auth.AccountState
AccountState.DefaultWarning, AccountState.Warning
 
Constructor Summary
EDirectoryAccountState(Calendar exp, int remaining)
          Creates a new edirectory account state.
EDirectoryAccountState(EDirectoryAccountState.Error error)
          Creates a new edirectory account state.
 
Method Summary
 EDirectoryAccountState.Error getEDirectoryError()
          Returns the edirectory 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

EDirectoryAccountState

public EDirectoryAccountState(Calendar exp,
                              int remaining)
Creates a new edirectory account state.

Parameters:
exp - account expiration
remaining - number of logins available

EDirectoryAccountState

public EDirectoryAccountState(EDirectoryAccountState.Error error)
Creates a new edirectory account state.

Parameters:
error - containing authentication failure details
Method Detail

getEDirectoryError

public EDirectoryAccountState.Error getEDirectoryError()
Returns the edirectory error for this account state.

Returns:
edirectory error


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