org.apache.jetspeed.security.impl
Class PasswordCredentialValveImpl

java.lang.Object
  extended by org.apache.jetspeed.pipeline.valve.AbstractValve
      extended by org.apache.jetspeed.security.impl.PasswordCredentialValveImpl
All Implemented Interfaces:
PasswordCredentialValve, 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(java.util.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(RequestContext request, ValveContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.jetspeed.pipeline.valve.AbstractValve
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve
initialize
 

Constructor Detail

PasswordCredentialValveImpl

public PasswordCredentialValveImpl()
Create a PasswordCredentialValveImpl which only checks and handles PasswordCredential.isUpdateRequired().


PasswordCredentialValveImpl

public PasswordCredentialValveImpl(java.util.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
Method Detail

invoke

public void invoke(RequestContext request,
                   ValveContext context)
            throws PipelineException
Specified by:
invoke in interface Valve
Specified by:
invoke in class AbstractValve
Throws:
PipelineException
See Also:
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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