|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.authorization.resources.JavaEEResource
public abstract class JavaEEResource
Represents a Java EE Resource
Field Summary | |
---|---|
protected org.jboss.security.RunAs |
callerRunAsIdentity
|
protected Subject |
callerSubject
|
protected CodeSource |
codeSource
|
protected Map<String,Object> |
map
|
protected String |
policyContextID
|
protected Principal |
principal
|
protected Set<org.jboss.security.javaee.SecurityRoleRef> |
securityRoleReferences
|
Constructor Summary | |
---|---|
JavaEEResource()
|
Method Summary | |
---|---|
org.jboss.security.RunAs |
getCallerRunAsIdentity()
Get the Caller RunAsIdentity |
Subject |
getCallerSubject()
Get the Caller Subject |
CodeSource |
getCodeSource()
Get the CodeSource |
abstract org.jboss.security.authorization.ResourceType |
getLayer()
|
Map<String,Object> |
getMap()
|
String |
getPolicyContextID()
Get the Policy Context ID (Mainly to retrieve policy from policy configuration (JACC) or PolicyRegistration (XACML)) |
Principal |
getPrincipal()
|
Set<org.jboss.security.javaee.SecurityRoleRef> |
getSecurityRoleReferences()
Get the set of Security Role Reference objects defined in the deployment descriptor |
void |
setCallerRunAsIdentity(org.jboss.security.RunAs callerRunAsIdentity)
Set the Caller RunAsIdentity |
void |
setCallerSubject(Subject callerSubject)
Set the Caller Subject |
void |
setCodeSource(CodeSource codeSource)
Set the CodeSource |
void |
setPolicyContextID(String policyContextID)
Set the Policy Context ID |
void |
setPrincipal(Principal principal)
|
void |
setSecurityRoleReferences(Set<org.jboss.security.javaee.SecurityRoleRef> securityRoleReferences)
Set the security role references |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,Object> map
protected String policyContextID
protected Subject callerSubject
protected org.jboss.security.RunAs callerRunAsIdentity
protected CodeSource codeSource
protected Principal principal
protected Set<org.jboss.security.javaee.SecurityRoleRef> securityRoleReferences
Constructor Detail |
---|
public JavaEEResource()
Method Detail |
---|
public abstract org.jboss.security.authorization.ResourceType getLayer()
getLayer
in interface org.jboss.security.authorization.Resource
public Map<String,Object> getMap()
getMap
in interface org.jboss.security.authorization.Resource
Resource.getMap()
public Subject getCallerSubject()
public void setCallerSubject(Subject callerSubject)
callerSubject
- public org.jboss.security.RunAs getCallerRunAsIdentity()
public void setCallerRunAsIdentity(org.jboss.security.RunAs callerRunAsIdentity)
callerRunAsIdentity
- public CodeSource getCodeSource()
public void setCodeSource(CodeSource codeSource)
codeSource
- public String getPolicyContextID()
public void setPolicyContextID(String policyContextID)
policyContextID
- public Principal getPrincipal()
public void setPrincipal(Principal principal)
public Set<org.jboss.security.javaee.SecurityRoleRef> getSecurityRoleReferences()
public void setSecurityRoleReferences(Set<org.jboss.security.javaee.SecurityRoleRef> securityRoleReferences)
securityRoleReferences
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |