org.apache.directory.server.kerberos.shared.service
Class ErrorMessageHandler

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.chain.impl.CommandBase
      extended by org.apache.directory.server.kerberos.shared.service.ErrorMessageHandler
All Implemented Interfaces:
Command, Filter
Direct Known Subclasses:
AuthenticationExceptionHandler, TicketGrantingExceptionHandler

public abstract class ErrorMessageHandler
extends CommandBase
implements Filter

A Command for helping convert a KerberosException into an ErrorMessage to be returned to clients.

Version:
$Rev: 434558 $, $Date: 2006-08-24 19:11:45 -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
ErrorMessageHandler()
           
 
Method Summary
 ErrorMessage getErrorMessage(javax.security.auth.kerberos.KerberosPrincipal principal, KerberosException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.server.protocol.shared.chain.Filter
postprocess
 
Methods inherited from interface org.apache.directory.server.protocol.shared.chain.Command
execute
 

Constructor Detail

ErrorMessageHandler

public ErrorMessageHandler()
Method Detail

getErrorMessage

public ErrorMessage getErrorMessage(javax.security.auth.kerberos.KerberosPrincipal principal,
                                    KerberosException exception)