org.ldaptive.auth.ext
Class ActiveDirectoryAccountState

java.lang.Object
  extended by org.ldaptive.auth.AccountState
      extended by org.ldaptive.auth.ext.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.

Version:
$Revision: 2940 $ $Date: 2014-03-31 11:10:46 -0400 (Mon, 31 Mar 2014) $
Author:
Middleware Services

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

ActiveDirectoryAccountState

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


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