|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.sunxacml.TargetMatchGroup
public class TargetMatchGroup
This class contains a group of TargetMatch
instances and
represents the Subject, Resource, Action, and Environment elements in
an XACML Target.
Constructor Summary | |
---|---|
TargetMatchGroup(List matchElements,
int matchType)
Constructor that creates a new TargetMatchGroup based
on the given elements. |
Method Summary | |
---|---|
void |
encode(OutputStream output)
Encodes this TargetMatchGroup into its XML representation
and writes this encoding to the given OutputStream with no
indentation. |
void |
encode(OutputStream output,
Indenter indenter)
Encodes this TargetMatchGroup into its XML representation
and writes this encoding to the given OutputStream with
indentation. |
static TargetMatchGroup |
getInstance(Node root,
int matchType,
PolicyMetaData metaData)
Creates a Target based on its DOM node. |
MatchResult |
match(EvaluationCtx context)
Determines whether this TargetMatchGroup matches
the input request (whether it is applicable). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TargetMatchGroup(List matchElements, int matchType)
TargetMatchGroup
based
on the given elements.
matchElements
- a List
of TargetMatch
matchType
- the match type as defined in TargetMatch
Method Detail |
---|
public static TargetMatchGroup getInstance(Node root, int matchType, PolicyMetaData metaData) throws ParsingException
Target
based on its DOM node.
root
- the node to parse for the target groupmatchType
- the type of the matchmetaData
- meta-date associated with the policy
TargetMatchGroup
constructed by parsing
ParsingException
- if the DOM node is invalidpublic MatchResult match(EvaluationCtx context)
TargetMatchGroup
matches
the input request (whether it is applicable).
context
- the representation of the request
public void encode(OutputStream output)
TargetMatchGroup
into its XML representation
and writes this encoding to the given OutputStream
with no
indentation.
output
- a stream into which the XML-encoded data is writtenpublic void encode(OutputStream output, Indenter indenter)
TargetMatchGroup
into its XML representation
and writes this encoding to the given OutputStream
with
indentation.
output
- a stream into which the XML-encoded data is writtenindenter
- an object that creates indentation strings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |