|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.builder.TargetMatchBuilder nbi.xmlsec.xacml.profile.rbac.builder.PermissionMatchBuilder
This class serves to create specialised TargetMatches for Permissions from target scheme descriptions(datatype-matchfunc[value]). The following functions are supported:
Field Summary |
Fields inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilder |
attribute, eval, function, type |
Constructor Summary | |
PermissionMatchBuilder(int type)
Creates a PermissionMatchBuilder based on the type target match (SubjectMatch, ResourceMatch, or ActionMatch) to build. |
Method Summary | |
AttributeValue |
createMatchValue()
Create the appropriate attribute match value for the evaluation function. |
String |
getDataTypeId(String dataType)
Retrieves the SunXACML Attribute identifier for a given datatype: The following datatypes are supported: string anyuri x500Name |
String |
getFunctionId(String dataType,
String function)
Retrieves the matching SunXACML function id for Permissions. |
void |
setAttribute(String obj)
Parses and sets the TargetMatchBuilder
attribute from a target syntax scheme description. |
Methods inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilder |
getInstance, setAttribute, setMatchEvaluatable, setMatchEvaluatable, setMatchFunction, setMatchFunction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PermissionMatchBuilder(int type)
type
- type of the target match.Method Detail |
public String getFunctionId(String dataType, String function)
dataType
- datatype of the match function.function
- name of the match function.
public String getDataTypeId(String dataType)
dataType
- data type to search for.
public void setAttribute(String obj) throws UnknownIdentifierException, FunctionTypeException
TargetMatchBuilder
attribute from a target syntax scheme description. The syntax scheme
description must match the following scheme: datatype-matchfunc[value].
obj
- target syntax scheme description
UnknownIdentifierException
- Unknown identifier type used
FunctionTypeException
- Unknown function type usedpublic AttributeValue createMatchValue()
createMatchValue
in class TargetMatchBuilder
TargetMatchBuilder.createMatchValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |