|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserCredential
The (readonly) UserCredential accessible through the Subject (private) credentials
Method Summary | |
---|---|
int |
getAuthenticationFailures()
Getter for the current number of authentication failures in a row. |
java.sql.Timestamp |
getCreationDate()
|
java.sql.Date |
getExpirationDate()
|
java.sql.Timestamp |
getLastAuthenticationDate()
|
java.sql.Timestamp |
getModifiedDate()
|
java.sql.Timestamp |
getPreviousAuthenticationDate()
|
java.lang.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). |
Method Detail |
---|
java.lang.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()
java.sql.Timestamp getCreationDate()
java.sql.Timestamp getModifiedDate()
java.sql.Date getExpirationDate()
java.sql.Timestamp getPreviousAuthenticationDate()
java.sql.Timestamp getLastAuthenticationDate()
int getAuthenticationFailures()
Getter for the current number of authentication failures in a row.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |