public class AuthenticationInterceptor extends AbstractLRUApplicableInterceptor
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
send
The mode (send or receive). 
 | 
applicablesia| Constructor and Description | 
|---|
AuthenticationInterceptor(IInternalAccess ia,
                         boolean send)
Create a new AuthenticationInterceptor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected IFuture<java.lang.Void> | 
checkAuthentication(ServiceInvocationContext context)
Check the authentication. 
 | 
protected IFuture<java.lang.Void> | 
createAuthentication(ServiceInvocationContext context)
Check the authentication. 
 | 
boolean | 
customIsApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable. 
 | 
IFuture<java.lang.Void> | 
execute(ServiceInvocationContext context)
Execute the interceptor. 
 | 
protected IFuture<java.lang.Void> | 
internalCheck(ServiceInvocationContext context,
             java.lang.String callername,
             byte[] signed)
Internal check method that calls verify on 
 | 
protected boolean | 
isAuthenticated(java.lang.annotation.Annotation anno)
Check if an annotation belongs to the supported
  types of pre/postconditions. 
 | 
isApplicablegetComponentpublic AuthenticationInterceptor(IInternalAccess ia, boolean send)
public boolean customIsApplicable(ServiceInvocationContext context)
customIsApplicable in class AbstractLRUApplicableInterceptorprotected boolean isAuthenticated(java.lang.annotation.Annotation anno)
public IFuture<java.lang.Void> execute(ServiceInvocationContext context)
context - The invocation context.protected IFuture<java.lang.Void> createAuthentication(ServiceInvocationContext context)
protected IFuture<java.lang.Void> checkAuthentication(ServiceInvocationContext context)
protected IFuture<java.lang.Void> internalCheck(ServiceInvocationContext context, java.lang.String callername, byte[] signed)