org.jboss.ejb
Class EJBArgsPolicyContextHandler

java.lang.Object
  extended byorg.jboss.ejb.EJBArgsPolicyContextHandler
All Implemented Interfaces:
javax.security.jacc.PolicyContextHandler

public class EJBArgsPolicyContextHandler
extends Object
implements javax.security.jacc.PolicyContextHandler

A PolicyContextHandler for the EJB invocation arguments.

Version:
$Revison:$
Author:
Scott.Stark@jboss.org

Field Summary
static String EJB_ARGS_KEY
           
 
Constructor Summary
EJBArgsPolicyContextHandler()
           
 
Method Summary
 Object getContext(String key, Object data)
          Access the EJB policy context data.
 String[] getKeys()
           
 boolean supports(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB_ARGS_KEY

public static final String EJB_ARGS_KEY
See Also:
Constant Field Values
Constructor Detail

EJBArgsPolicyContextHandler

public EJBArgsPolicyContextHandler()
Method Detail

getContext

public Object getContext(String key,
                         Object data)
                  throws javax.security.jacc.PolicyContextException
Access the EJB policy context data.

Specified by:
getContext in interface javax.security.jacc.PolicyContextHandler
Parameters:
key - "javax.ejb.arguments"
data - currently unused
Returns:
Object[] for the active invocation args
Throws:
javax.security.jacc.PolicyContextException

getKeys

public String[] getKeys()
                 throws javax.security.jacc.PolicyContextException
Specified by:
getKeys in interface javax.security.jacc.PolicyContextHandler
Throws:
javax.security.jacc.PolicyContextException

supports

public boolean supports(String key)
                 throws javax.security.jacc.PolicyContextException
Specified by:
supports in interface javax.security.jacc.PolicyContextHandler
Throws:
javax.security.jacc.PolicyContextException


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