org.openejb.security
Class EJBRunAsInterceptor

java.lang.Object
  extended byorg.openejb.security.EJBRunAsInterceptor
All Implemented Interfaces:
org.apache.geronimo.core.service.Interceptor

public final class EJBRunAsInterceptor
extends Object
implements org.apache.geronimo.core.service.Interceptor

A simple interceptor that sets up the next caller to be the configured run-as Subject.

Version:
$Revision: 445265 $ $Date: 2005-03-09 06:01:02 +0100 (Wed, 09 Mar 2005) $

Constructor Summary
EJBRunAsInterceptor(org.apache.geronimo.core.service.Interceptor next, Subject subject)
           
 
Method Summary
 org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBRunAsInterceptor

public EJBRunAsInterceptor(org.apache.geronimo.core.service.Interceptor next,
                           Subject subject)
Method Detail

invoke

public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
                                                         throws Throwable
Specified by:
invoke in interface org.apache.geronimo.core.service.Interceptor
Throws:
Throwable


Copyright © 1999-2006 OpenEJB. All Rights Reserved.