|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.protocol.shared.chain.impl.CommandBase
org.apache.directory.server.kerberos.shared.service.ErrorMessageHandler
org.apache.directory.server.kerberos.kdc.ticketgrant.TicketGrantingExceptionHandler
Field Summary |
Fields inherited from class org.apache.directory.server.protocol.shared.chain.impl.CommandBase |
CONTINUE_CHAIN, STOP_CHAIN |
Constructor Summary | |
TicketGrantingExceptionHandler()
|
Method Summary | |
boolean |
execute(Context context)
Execute a unit of processing work to be performed. |
boolean |
postprocess(Context context,
java.lang.Exception exception)
Execute any cleanup activities, such as releasing resources that were acquired during the execute() method of this
Filter instance. |
Methods inherited from class org.apache.directory.server.kerberos.shared.service.ErrorMessageHandler |
getErrorMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TicketGrantingExceptionHandler()
Method Detail |
public boolean execute(Context context) throws java.lang.Exception
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
context
- The Context
to be processed by this
Command
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
java.lang.Exception
- general purpose exception return
to indicate abnormal terminationpublic boolean postprocess(Context context, java.lang.Exception exception)
Filter
Execute any cleanup activities, such as releasing resources that
were acquired during the execute()
method of this
Filter
instance.
context
- The Context
to be processed by this
Filter
exception
- The Exception
(if any) that was thrown
by the last Command
that was executed; otherwise
null
exception
was "handled" by this
method (and therefore need not be rethrown), return true
;
otherwise return false
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |