org.apache.jetspeed.security
Interface PasswordCredential


public interface PasswordCredential

PasswordCredential

Version:
$Id: PasswordCredential.java 188527 2005-04-24 12:33:49Z 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

public static final String PASSWORD_CREDENTIAL_DAYS_VALID_REQUEST_ATTR_KEY
Method Detail

getUserName

public String getUserName()
Returns:
The username.

getPassword

public char[] getPassword()
Returns:
The password.

isUpdateRequired

public boolean isUpdateRequired()
Returns:
true if update required.

isEnabled

public boolean isEnabled()
Returns:
true if enabled.

isExpired

public boolean isExpired()
Returns:
true if expired.

getExpirationDate

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

getPreviousAuthenticationDate

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

getLastAuthenticationDate

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

getAuthenticationFailures

public int getAuthenticationFailures()

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

Returns:
The number of authentication failures


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