org.apache.jetspeed.security
Interface PasswordCredential


public interface PasswordCredential

PasswordCredential

Version:
$Id: PasswordCredential.java 516448 2007-03-09 16:25:47Z ate $
Author:
Ate Douma

Field Summary
static String PASSWORD_CREDENTIAL_DAYS_VALID_REQUEST_ATTR_KEY
           
 
Method Summary
 int getAuthenticationFailures()
          Getter for the current number of authentication failures in a row.
 Date getExpirationDate()
           
 Timestamp getLastAuthenticationDate()
           
 char[] getPassword()
           
 Timestamp getPreviousAuthenticationDate()
           
 String getUserName()
           
 boolean isEnabled()
           
 boolean isExpired()
           
 boolean isUpdateRequired()
           
 

Field Detail

PASSWORD_CREDENTIAL_DAYS_VALID_REQUEST_ATTR_KEY

static final String PASSWORD_CREDENTIAL_DAYS_VALID_REQUEST_ATTR_KEY
Method Detail

getUserName

String getUserName()
Returns:
The username.

getPassword

char[] getPassword()
Returns:
The password.

isUpdateRequired

boolean isUpdateRequired()
Returns:
true if update required.

isEnabled

boolean isEnabled()
Returns:
true if enabled.

isExpired

boolean isExpired()
Returns:
true if expired.

getExpirationDate

Date getExpirationDate()
Returns:
when the password is (going to be) expired.

getPreviousAuthenticationDate

Timestamp getPreviousAuthenticationDate()
Returns:
the previous time the user logged in

getLastAuthenticationDate

Timestamp getLastAuthenticationDate()
Returns:
the last time the user logged in

getAuthenticationFailures

int getAuthenticationFailures()

Getter for the current number of authentication failures in a row.

Returns:
The number of authentication failures


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.