|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.builder.RequestCtxBuilder
Class to create a RequestCtx.
Field Summary | |
private Set |
actions
Set of action attribute |
protected int |
AT_ACTION
Attribute type action |
protected int |
AT_ENV
Attribute type environment |
protected int |
AT_RESOURCE
Attribute type resource |
private Set |
environment
Set of environment attributes |
(package private) static Logger |
logger
|
private Set |
resources
Set of resource attributes |
private Set |
subjects
Set of subject attributes |
Constructor Summary | |
RequestCtxBuilder()
|
Method Summary | |
protected boolean |
add(int type,
Attribute attr)
Adds an attribute of the given type to the related RequestCtx 's attribute set. |
boolean |
add(Subject subject)
Adds a subject to the RequestCtx 's subjects. |
boolean |
addAction(Attribute attr)
Adds an action attribute to the RequestCtx 's
resources. |
boolean |
addEnvironment(Attribute attr)
Adds an environemnt attribute to the RequestCtx 's
resources. |
boolean |
addResource(Attribute attr)
Adds a resource attribute to the RequestCtx 's
resources. |
RequestCtx |
getInstance()
Creates a new RequestCtx . |
protected boolean |
remove(int type,
Attribute attr)
Removes an attribute of the given type from the related RequestCtx 's attribute set. |
boolean |
remove(Subject subject)
Removes a subject from the RequestCtx 's subjects. |
boolean |
removeAction(Attribute attr)
Removes an action attribute from the RequestCtx 's
resources. |
boolean |
removeEnvironment(Attribute attr)
Removes an environment attribute from the RequestCtx
's resources. |
boolean |
removeResource(Attribute attr)
Removes a resource attribute from the RequestCtx 's
resources. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static Logger logger
protected final int AT_RESOURCE
protected final int AT_ACTION
protected final int AT_ENV
private Set subjects
private Set resources
private Set actions
private Set environment
Constructor Detail |
public RequestCtxBuilder()
Method Detail |
public boolean add(Subject subject)
RequestCtx
's subjects.
subject
- The subject to add.
public boolean remove(Subject subject)
RequestCtx
's subjects.
subject
- The RequestCtx's subject to remove.
protected boolean add(int type, Attribute attr)
RequestCtx
's attribute set. The supported attribute
types are:
AT_ACTION
AT_RESOURCE
AT_ENV
type
- Type of attribute set.attr
- The attribute to add.
protected boolean remove(int type, Attribute attr)
RequestCtx
's attribute set. The supported attribute
types are:
AT_ACTION
AT_RESOURCE
AT_ENV
type
- Type of attribute set.attr
- The RequestCtx's attr to remove.
public boolean addResource(Attribute attr)
RequestCtx
's
resources.
attr
- The attribute to add.
public boolean removeResource(Attribute attr)
RequestCtx
's
resources.
attr
- The attribute to add.
public boolean addAction(Attribute attr)
RequestCtx
's
resources.
attr
- The attribute to add.
public boolean removeAction(Attribute attr)
RequestCtx
's
resources.
attr
- The attribute to add.
public boolean addEnvironment(Attribute attr)
RequestCtx
's
resources.
attr
- The attribute to add.
public boolean removeEnvironment(Attribute attr)
RequestCtx
's resources.
attr
- The attribute to add.
public RequestCtx getInstance()
RequestCtx
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |