org.jboss.aspects.security
Class SecurityClientInterceptor

java.lang.Object
  extended by org.jboss.aspects.security.SecurityClientInterceptor
All Implemented Interfaces:
Serializable, org.jboss.aop.advice.Interceptor

public final class SecurityClientInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor, Serializable

The AuthenticationInterceptor authenticates the caller.

Version:
$Revision: 57186 $
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
static SecurityClientInterceptor singleton
           
 
Constructor Summary
SecurityClientInterceptor()
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          Authenticates the caller using the principal and credentials in the Infocation if thre is a security manager and an invcocation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

public static final SecurityClientInterceptor singleton
Constructor Detail

SecurityClientInterceptor

public SecurityClientInterceptor()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Authenticates the caller using the principal and credentials in the Infocation if thre is a security manager and an invcocation method.

Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.