|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.core.JBossXACMLPolicy
public class JBossXACMLPolicy
JBossXACML Policy
Field Summary |
---|
Fields inherited from interface org.jboss.security.xacml.interfaces.XACMLPolicy |
---|
POLICY, POLICYSET |
Constructor Summary | |
---|---|
JBossXACMLPolicy(InputStream is,
int type)
Construct a JBossXACMLPolicy |
|
JBossXACMLPolicy(InputStream is,
int type,
JBossPolicyFinder theFinder)
Construct a JBossXACMLPolicy instance |
|
JBossXACMLPolicy(URL url,
int type)
Construct a JBossXACMLPolicy |
Method Summary | ||
---|---|---|
|
get(String key)
Get an element from the map |
|
List<XACMLPolicy> |
getEnclosingPolicies()
Return the enclosing policies for a PolicySet |
|
int |
getType()
Return a type (PolicySet or Policy) |
|
|
set(String key,
T obj)
Set an object on the map |
|
void |
setEnclosingPolicies(List<XACMLPolicy> policies)
A PolicySet can contain policies within. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossXACMLPolicy(URL url, int type) throws Exception
url
- url to the policy filetype
- type (Policy or PolicySet)
Exception
XACMLConstants
public JBossXACMLPolicy(InputStream is, int type) throws Exception
is
- Inputstream to the policy filetype
- type (Policy or PolicySet)
Exception
XACMLConstants
public JBossXACMLPolicy(InputStream is, int type, JBossPolicyFinder theFinder) throws Exception
is
- Inputstream to the policy/policyset filetype
- policy or policysettheFinder
- PolicySet processing needs this
Exception
XACMLConstants
Method Detail |
---|
public int getType()
XACMLPolicy
getType
in interface XACMLPolicy
XACMLPolicy.getType()
,
XACMLConstants
public void setEnclosingPolicies(List<XACMLPolicy> policies)
XACMLPolicy
setEnclosingPolicies
in interface XACMLPolicy
policies
- a list of policiesXACMLPolicy.setEnclosingPolicies(List)
public List<XACMLPolicy> getEnclosingPolicies()
XACMLPolicy
getEnclosingPolicies
in interface XACMLPolicy
XACMLPolicy.getEnclosingPolicies()
public <T> T get(String key)
ContextMapOp
get
in interface ContextMapOp
T
- object from the mapkey
- Key
ContextMapOp.get(String)
public <T> void set(String key, T obj)
ContextMapOp
set
in interface ContextMapOp
key
- Key for the mapobj
- Object to be placedContextMapOp.set(String, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |