|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.security.authorization.resources.JavaEEResource
org.jboss.security.authorization.resources.EJBResource
public class EJBResource
Represents an EJB Resource
| Field Summary | |
|---|---|
static String |
EJB_VERSION_1_1
|
static String |
EJB_VERSION_2_0
|
static String |
EJB_VERSION_3_0
|
| Fields inherited from class org.jboss.security.authorization.resources.JavaEEResource |
|---|
callerRunAsIdentity, callerSubject, codeSource, map, policyContextID, principal, securityRoleReferences |
| Constructor Summary | |
|---|---|
EJBResource(Map<String,Object> map)
Create a new EJBResource. |
|
| Method Summary | |
|---|---|
Method |
getEjbMethod()
Get the EJB Method |
String |
getEjbMethodInterface()
Get the EJB Method Interface as a String |
org.jboss.security.identity.RoleGroup |
getEjbMethodRoles()
Get the Roles assigned to the EJB method |
String |
getEjbName()
Get the EJB Name |
String |
getEjbVersion()
Get the version of EJB |
org.jboss.security.authorization.ResourceType |
getLayer()
|
boolean |
isEnforceEJBRestrictions()
Specify the EJB1.1 role ref restriction that the rolename has to be present in the DD |
void |
setEjbMethod(Method ejbMethod)
Set the EJB Method |
void |
setEjbMethodInterface(String ejbMethodInterface)
Set the EJB Method Interface as a String |
void |
setEjbMethodRoles(org.jboss.security.identity.RoleGroup ejbMethodRoles)
Set the roles assigned to the EJB Method |
void |
setEjbName(String ejbName)
Set the EJB Name |
void |
setEjbVersion(String version)
Set the version of EJB |
void |
setEnforceEJBRestrictions(boolean enforceEJBRestrictions)
|
String |
toString()
|
| Methods inherited from class org.jboss.security.authorization.resources.JavaEEResource |
|---|
getCallerRunAsIdentity, getCallerSubject, getCodeSource, getMap, getPolicyContextID, getPrincipal, getSecurityRoleReferences, setCallerRunAsIdentity, setCallerSubject, setCodeSource, setPolicyContextID, setPrincipal, setSecurityRoleReferences |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String EJB_VERSION_1_1
public static final String EJB_VERSION_2_0
public static final String EJB_VERSION_3_0
| Constructor Detail |
|---|
public EJBResource(Map<String,Object> map)
map - | Method Detail |
|---|
public org.jboss.security.authorization.ResourceType getLayer()
getLayer in interface org.jboss.security.authorization.ResourcegetLayer in class JavaEEResourceResource.getLayer()public String getEjbName()
public void setEjbName(String ejbName)
ejbName - public Method getEjbMethod()
public void setEjbMethod(Method ejbMethod)
ejbMethod - public String getEjbMethodInterface()
public void setEjbMethodInterface(String ejbMethodInterface)
ejbMethodInterface - public org.jboss.security.identity.RoleGroup getEjbMethodRoles()
public void setEjbMethodRoles(org.jboss.security.identity.RoleGroup ejbMethodRoles)
ejbMethodRoles - public boolean isEnforceEJBRestrictions()
public void setEnforceEJBRestrictions(boolean enforceEJBRestrictions)
enforceEJBRestrictions - isEnforceEJBRestrictions()public String getEjbVersion()
public void setEjbVersion(String version)
version - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||