org.jboss.ejb3.security.client
Class SecurityClientInterceptor

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

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

Security Interceptor in Client Proxy

Version:
$Revision: 64740 $
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.