org.apache.jetspeed.security.impl
Class PasswordCredentialValveImpl
java.lang.Object
org.apache.jetspeed.pipeline.valve.AbstractValve
org.apache.jetspeed.security.impl.PasswordCredentialValveImpl
- All Implemented Interfaces:
- PasswordCredentialValve, org.apache.jetspeed.pipeline.valve.Valve
public class PasswordCredentialValveImpl
- extends AbstractValve
- implements PasswordCredentialValve
PasswordCredentialValve
- Version:
- $Id: PasswordCredentialValveImpl.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Ate Douma
Constructor Summary |
PasswordCredentialValveImpl()
Create a PasswordCredentialValveImpl which only checks and handles PasswordCredential.isUpdateRequired(). |
PasswordCredentialValveImpl(List expirationWarningDays)
Creates a PasswordCredentialValveImpl which, besides checking and handling PasswordCredential.isUpdateRequired(),
also provides a warning when a password is about to be expired according to the provided list of
expirationWarningDays. |
Method Summary |
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
String |
toString()
|
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve |
initialize |
log
private static final org.apache.commons.logging.Log log
CHECKED_KEY
private static final String CHECKED_KEY
expirationWarningDays
private int[] expirationWarningDays
PasswordCredentialValveImpl
public PasswordCredentialValveImpl()
- Create a PasswordCredentialValveImpl which only checks and handles PasswordCredential.isUpdateRequired().
PasswordCredentialValveImpl
public PasswordCredentialValveImpl(List expirationWarningDays)
Creates a PasswordCredentialValveImpl which, besides checking and handling PasswordCredential.isUpdateRequired(),
also provides a warning when a password is about to be expired according to the provided list of
expirationWarningDays.
- Parameters:
expirationWarningDays
- the list of days before password expiration when a warning should be presented
invoke
public void invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
throws org.apache.jetspeed.pipeline.PipelineException
- Specified by:
invoke
in interface org.apache.jetspeed.pipeline.valve.Valve
- Specified by:
invoke
in class AbstractValve
- Throws:
org.apache.jetspeed.pipeline.PipelineException
- See Also:
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.