public interface UserCredential extends Credential
Modifier and Type | Method and Description |
---|---|
int |
getAuthenticationFailures()
Getter for the current number of authentication failures in a row.
|
Timestamp |
getCreationDate() |
Date |
getExpirationDate() |
Timestamp |
getLastAuthenticationDate() |
Timestamp |
getModifiedDate() |
Timestamp |
getPreviousAuthenticationDate() |
String |
getUserName() |
boolean |
isEnabled() |
boolean |
isExpired() |
boolean |
isUpdateAllowed() |
boolean |
isUpdateRequired() |
void |
synchronize(UserCredential pwc)
Synchronize the internal read only UserCredential state when its underlying PasswordCredential is changed (by a user).
|
String getUserName()
void synchronize(UserCredential pwc)
If no update is allowed this method should not be called.
Note: A PasswordCredential implementation (extending UserCredential) probably will throw an UnsupportedOperationException
pwc
- the underlying PasswordCredential for this UserCredentialboolean isUpdateAllowed()
boolean isUpdateRequired()
boolean isEnabled()
boolean isExpired()
Timestamp getCreationDate()
Timestamp getModifiedDate()
Date getExpirationDate()
Timestamp getPreviousAuthenticationDate()
Timestamp getLastAuthenticationDate()
int getAuthenticationFailures()
Getter for the current number of authentication failures in a row.
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.