
public class SecretTokenInterceptor extends AbstractInterceptor<MessagingContainer> implements MessageInterceptor, Prototype<SecretTokenInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContext| Modifier and Type | Field and Description |
|---|---|
static SecretTokenValidator |
DEFAULT_SECRET_TOKEN_VALIDATOR |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
SecretTokenInterceptor() |
SecretTokenInterceptor(SecretTokenValidator secretTokenValidator) |
| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run before a message is executed.
|
SecretTokenValidator |
getSecretTokenValidator() |
void |
init(MessagingContainer messagingContainer) |
SecretTokenInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setSecretTokenValidator(SecretTokenValidator secretTokenValidator) |
void |
shutdown(MessagingContainer messagingContainer) |
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, skippublic static final SecretTokenValidator DEFAULT_SECRET_TOKEN_VALIDATOR
public SecretTokenInterceptor(SecretTokenValidator secretTokenValidator)
public SecretTokenInterceptor()
public SecretTokenInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor in interface Prototype<SecretTokenInterceptor>Xdi2MessagingExceptionpublic void init(MessagingContainer messagingContainer) throws Exception
init in interface Extension<MessagingContainer>init in class AbstractExtension<MessagingContainer>Exceptionpublic void shutdown(MessagingContainer messagingContainer) throws Exception
shutdown in interface Extension<MessagingContainer>shutdown in class AbstractExtension<MessagingContainer>Exceptionpublic InterceptorResult before(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptorbefore in interface MessageInterceptormessage - The message to process.executionContext - The current execution context.executionResult - The execution result.Xdi2MessagingExceptionpublic InterceptorResult after(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptorafter in interface MessageInterceptormessage - The message to process.executionContext - The current execution context.executionResult - The execution result.Xdi2MessagingExceptionpublic SecretTokenValidator getSecretTokenValidator()
public void setSecretTokenValidator(SecretTokenValidator secretTokenValidator)
Copyright © 2017. All rights reserved.