org.openejb.security
Class EJBRunAsInterceptor

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

public 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: 1.1 $ $Date: 2004/03/01 07:14:43 $

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-2005 OpenEJB. All Rights Reserved.