|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.builder.RequestCtxBuilder nbi.xmlsec.xacml.profile.rbac.builder.RBACRequestCtxBuilder
Class to create RBAC specific RequestCtxs.
Field Summary | |
(package private) static Logger |
logger
|
Fields inherited from class nbi.xmlsec.xacml.builder.RequestCtxBuilder |
AT_ACTION, AT_ENV, AT_RESOURCE |
Constructor Summary | |
RBACRequestCtxBuilder()
Default Constructor. |
Method Summary | |
boolean |
addAction(String action)
Adds the action part of a request context on a given reource String. |
boolean |
addResource(String resource)
Adds the given resource string to the resource part of a request context. |
boolean |
addRole(RoleAssignmentPolicyIdentifier roleId)
Adds a role to the subject part of a request context on a given RoleAssignmentPolicyIdentifier. |
boolean |
addRoles(Set roleIds)
Adds a set of roles to the subject part of a request context using addRole(RoleAssignmentPolicyIdentifier) . |
boolean |
removeAction(String action)
Removes the given action string from the action part of a request context. |
boolean |
removeResource(String resource)
Removes the given resource string from the resource part of a request context. |
boolean |
removeRole(RoleAssignmentPolicyIdentifier roleId)
Removes a role from the subject part of a request context on a given RoleAssignmentPolicyIdentifier. |
Methods inherited from class nbi.xmlsec.xacml.builder.RequestCtxBuilder |
add, add, addAction, addEnvironment, addResource, getInstance, remove, remove, removeAction, removeEnvironment, removeResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static Logger logger
Constructor Detail |
public RBACRequestCtxBuilder()
Method Detail |
public boolean addRole(RoleAssignmentPolicyIdentifier roleId)
roleId
- The RoleAssignmentPolicyIdentifier
URISyntaxException
public boolean addRoles(Set roleIds)
addRole(RoleAssignmentPolicyIdentifier)
.
roleIds
- A set of
RoleAssignmentPolicyIdentifiers
.
URISyntaxException
public boolean removeRole(RoleAssignmentPolicyIdentifier roleId)
roleId
- The RoleAssignmentPolicyIdentifier
URISyntaxException
public boolean addResource(String resource)
resource
- The resource string.
URISyntaxException
public boolean removeResource(String resource)
resource
- The resource string.
URISyntaxException
public boolean addAction(String action)
action
- The action string.
URISyntaxException
public boolean removeAction(String action)
action
- The action string.
URISyntaxException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |