org.apache.directory.server.changepw.service
Class CheckPasswordPolicy

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.chain.impl.CommandBase
      extended by org.apache.directory.server.changepw.service.CheckPasswordPolicy
All Implemented Interfaces:
Command

public class CheckPasswordPolicy
extends CommandBase

A basic password policy check using well-established methods.

Version:
$Rev: 434438 $, $Date: 2006-08-24 13:17:02 -0400 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.protocol.shared.chain.impl.CommandBase
CONTINUE_CHAIN, STOP_CHAIN
 
Constructor Summary
CheckPasswordPolicy()
           
 
Method Summary
 boolean execute(Context context)
          Execute a unit of processing work to be performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckPasswordPolicy

public CheckPasswordPolicy()
Method Detail

execute

public boolean execute(Context context)
                throws java.lang.Exception
Description copied from interface: Command

Execute a unit of processing work to be performed. This Command may either complete the required processing and return true, or delegate remaining processing to the next Command in a Chain containing this Command by returning false

Parameters:
context - The Context to be processed by this Command
Returns:
true if the processing of this Context has been completed, or false if the processing of this Context should be delegated to a subsequent Command in an enclosing Chain
Throws:
java.lang.Exception - general purpose exception return to indicate abnormal termination
java.lang.IllegalArgumentException - if context is null