org.apache.directory.server.kerberos.kdc
Class SelectChecksumType

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.chain.impl.CommandBase
      extended by org.apache.directory.server.kerberos.kdc.SelectChecksumType
All Implemented Interfaces:
Command

public class SelectChecksumType
extends CommandBase


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

Constructor Detail

SelectChecksumType

public SelectChecksumType()
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

isAllowedChecksumType

protected boolean isAllowedChecksumType(ChecksumType requestedType,
                                        ChecksumType[] configuredTypes)


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