org.apache.openejb.jee
Class MethodPermission
java.lang.Object
org.apache.openejb.jee.MethodPermission
public class MethodPermission
- extends Object
The method-permissionType specifies that one or more
security roles are allowed to invoke one or more enterprise
bean methods. The method-permissionType consists of an
optional description, a list of security role names or an
indicator to state that the method is unchecked for
authorization, and a list of method elements.
The security roles used in the method-permissionType
must be defined in the security-role elements of the
deployment descriptor, and the methods must be methods
defined in the enterprise bean's business, home, component
and/or web service endpoint interfaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleName
protected List<String> roleName
unchecked
protected EmptyType unchecked
method
protected List<Method> method
id
protected String id
description
protected TextMap description
MethodPermission
public MethodPermission()
MethodPermission
public MethodPermission(String className,
String ejbName,
String methodName,
String... roles)
MethodPermission
public MethodPermission(String ejbName,
Method method,
String... roles)
MethodPermission
public MethodPermission(Method method,
String... roles)
setUnchecked
public MethodPermission setUnchecked()
getDescriptions
public Text[] getDescriptions()
setDescriptions
public void setDescriptions(Text[] text)
getDescription
public String getDescription()
getRoleName
public List<String> getRoleName()
getUnchecked
public boolean getUnchecked()
setUnchecked
public void setUnchecked(boolean b)
getMethod
public List<Method> getMethod()
getId
public String getId()
setId
public void setId(String value)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.