|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnbi.xmlsec.xacml.parser.TargetMatchParserFactory
Implements a factory for TargetMatchParser. TargetMatchParsers have to be
registered under the key of the related attribute id of the match value
AttributeValue. The
getInstance(int,TargetMatch)method returns the
matching TargetMatchParserinstance, initialised
with the given target match.
| Field Summary | |
(package private) HashMap |
actionMatchParser
Registry for action match parsers |
(package private) static Logger |
logger
|
(package private) HashMap |
resourceMatchParser
Registry for resource match parsers |
(package private) HashMap |
subjectMatchParser
Registry for subject match parsers |
| Constructor Summary | |
TargetMatchParserFactory()
|
|
| Method Summary | |
TargetMatchParser |
getInstance(int type,
TargetMatch targetMatch)
Creates an instance of a matching TargetMatchParserof the given target match. |
void |
registerActionMatchParser(URI attributeId,
TargetMatchParser parser)
Registers a TargetMatchParser for a given attribute identifier. |
void |
registerResourceMatchParser(URI attributeId,
TargetMatchParser parser)
Registers a TargetMatchParser for a given attribute identifier. |
void |
registerSubjectMatchParser(URI attributeId,
TargetMatchParser parser)
Registers a TargetMatchParser for a given attribute identifier. |
protected void |
registerTargetMatchParser(int type,
URI attributeId,
TargetMatchParser parser)
Registers a TargetMatchParserfor a given
attribute id. |
void |
unregisterActionMatchParser(URI attributeId)
Unregisters a TargetMatchParser for a given attribute identifier. |
void |
unregisterResourceMatchParser(URI attributeId)
Unregisters a TargetMatchParser for a given attribute identifier. |
void |
unregisterSubjectMatchParser(URI attributeId)
Unregisters a TargetMatchParser for a given attribute identifier. |
protected void |
unregisterTargetMatchBuilder(int type,
URI attributeId)
Unregisters a TargetMatchParserof an attribute
id. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static Logger logger
HashMap subjectMatchParser
HashMap resourceMatchParser
HashMap actionMatchParser
| Constructor Detail |
public TargetMatchParserFactory()
| Method Detail |
public TargetMatchParser getInstance(int type,
TargetMatch targetMatch)
TargetMatchParserof the given target match.
type - TargetMatchParsertype (
SUBJECT,
RESOURCEor
ACTION).targetMatch - The target match to create a parser for.
TargetMatchParserinstance or
null.
public void registerSubjectMatchParser(URI attributeId,
TargetMatchParser parser)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to register.parser - TargetMatchParserrelated to the
attribute id..
public void registerResourceMatchParser(URI attributeId,
TargetMatchParser parser)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to register.parser - TargetMatchParserrelated to the
attribute id..
public void registerActionMatchParser(URI attributeId,
TargetMatchParser parser)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to register.parser - TargetMatchParserrelated to the
attribute id..
protected void registerTargetMatchParser(int type,
URI attributeId,
TargetMatchParser parser)
TargetMatchParserfor a given
attribute id.
type - TargetMatchParsertype (
SUBJECT,
RESOURCEor
ACTION).attributeId - The attribute identifier of the parser to register.parser - TargetMatchParserrelated to the
attribute id..public void unregisterSubjectMatchParser(URI attributeId)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to unregister.public void unregisterResourceMatchParser(URI attributeId)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to unregister.public void unregisterActionMatchParser(URI attributeId)
TargetMatchParser for a given attribute identifier.
attributeId - The attribute identifier of the parser to unregister.
protected void unregisterTargetMatchBuilder(int type,
URI attributeId)
TargetMatchParserof an attribute
id.
type - TargetMatchParsertype (
SUBJECT,
RESOURCEor
ACTION).attributeId - The attribute identifier of the parser to remove,
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||