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 booleanauthorize(ComponentInvocation inv, Method m)ObjectgetEJbArguments(ComponentInvocation inv)ObjectgetEnterpriseBean(ComponentInvocation inv)ObjectgetSOAPMessage(ComponentInvocation inv)voidsetSOAPMessage(Object message, ComponentInvocation inv)
-
-
-
Method Detail
-
getEnterpriseBean
public Object getEnterpriseBean(ComponentInvocation inv)
- Specified by:
getEnterpriseBeanin interfacePolicyContextDelegate
-
getEJbArguments
public Object getEJbArguments(ComponentInvocation inv)
- Specified by:
getEJbArgumentsin interfacePolicyContextDelegate
-
getSOAPMessage
public Object getSOAPMessage(ComponentInvocation inv)
- Specified by:
getSOAPMessagein interfacePolicyContextDelegate
-
setSOAPMessage
public void setSOAPMessage(Object message, ComponentInvocation inv)
- Specified by:
setSOAPMessagein interfacePolicyContextDelegate
-
authorize
public boolean authorize(ComponentInvocation inv, Method m) throws Exception
- Specified by:
authorizein interfacePolicyContextDelegate- Throws:
Exception
-
-