public class AuthenticationInterceptor extends AbstractLRUApplicableInterceptor
Modifier and Type | Field and Description |
---|---|
protected boolean |
send
The mode (send or receive).
|
applicables
ia
Constructor and Description |
---|
AuthenticationInterceptor(IInternalAccess ia,
boolean send)
Create a new AuthenticationInterceptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
customIsApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.
|
IFuture<java.lang.Void> |
execute(ServiceInvocationContext context)
Execute the interceptor.
|
protected boolean |
isAuthenticated(java.lang.annotation.Annotation anno)
Check if an annotation belongs to the supported
types of pre/postconditions.
|
isApplicable
getComponent
public AuthenticationInterceptor(IInternalAccess ia, boolean send)
public boolean customIsApplicable(ServiceInvocationContext context)
customIsApplicable
in class AbstractLRUApplicableInterceptor
protected boolean isAuthenticated(java.lang.annotation.Annotation anno)
public IFuture<java.lang.Void> execute(ServiceInvocationContext context)
context
- The invocation context.