Class EJBPolicyContextDelegate
- java.lang.Object
-
- com.sun.enterprise.security.ee.authorize.EJBPolicyContextDelegate
-
- All Implemented Interfaces:
PolicyContextDelegate
@Service(name="EJB") public class EJBPolicyContextDelegate extends Object implements PolicyContextDelegate
This class is primarily a delegate for PolicyContextHandler related queries But also handles Authorization of WebServiceInvocations- Author:
- Kumar
-
-
Constructor Summary
Constructors Constructor Description EJBPolicyContextDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authorize(ComponentInvocation inv, Method m)
Object
getEJbArguments(ComponentInvocation inv)
Object
getEnterpriseBean(ComponentInvocation inv)
Object
getSOAPMessage(ComponentInvocation inv)
void
setSOAPMessage(Object message, ComponentInvocation inv)
-
-
-
Method Detail
-
getEnterpriseBean
public Object getEnterpriseBean(ComponentInvocation inv)
- Specified by:
getEnterpriseBean
in interfacePolicyContextDelegate
-
getEJbArguments
public Object getEJbArguments(ComponentInvocation inv)
- Specified by:
getEJbArguments
in interfacePolicyContextDelegate
-
getSOAPMessage
public Object getSOAPMessage(ComponentInvocation inv)
- Specified by:
getSOAPMessage
in interfacePolicyContextDelegate
-
setSOAPMessage
public void setSOAPMessage(Object message, ComponentInvocation inv)
- Specified by:
setSOAPMessage
in interfacePolicyContextDelegate
-
authorize
public boolean authorize(ComponentInvocation inv, Method m) throws Exception
- Specified by:
authorize
in interfacePolicyContextDelegate
- Throws:
Exception
-
-