nbi.xmlsec.xacml.builder
Class X500NameSubjectMatchBuilder
java.lang.Object
nbi.xmlsec.xacml.builder.TargetMatchBuilder
nbi.xmlsec.xacml.builder.SubjectMatchBuilder
nbi.xmlsec.xacml.builder.X500NameSubjectMatchBuilder
- public class X500NameSubjectMatchBuilder
- extends SubjectMatchBuilder
Implements an SubjectMatchBuilder for X500Name attributes.
- Since:
- Version:
- $Revision: 1.4 $
- Author:
- Lutz Suhrbier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X500NameSubjectMatchBuilder
public X500NameSubjectMatchBuilder()
X500NameSubjectMatchBuilder
public X500NameSubjectMatchBuilder(X500Principal subject,
boolean match)
- Creates the instance.
- Parameters:
subject
- The X500Name subject to match.match
- true
, selects the
MatchFunction.NAME_X500NAME_MATCH
function, false
EqualFunction.NAME_X500NAME_EQUAL
.
- Throws:
UnknownIdentifierException
- see
FunctionFactory.createFunction(String)
.
FunctionTypeException
- see
FunctionFactory.createFunction(String)
.
X500NameSubjectMatchBuilder
public X500NameSubjectMatchBuilder(X500Principal subject)
- Creates the instance and selects the
EqualFunction.NAME_X500NAME_EQUAL
.
- Parameters:
subject
- The X500Name subject to match.
- Throws:
UnknownIdentifierException
- see
FunctionFactory.createFunction(String)
.
FunctionTypeException
- see
FunctionFactory.createFunction(String)
.
setAttribute
public void setAttribute(X500Principal subject)
- Sets an X500Principal attribute.
- Parameters:
subject
- The X500Principal attribute.
createMatchValue
public AttributeValue createMatchValue()
- Creates the attribute match value from the attribute.
- Overrides:
createMatchValue
in class SubjectMatchBuilder
- Returns:
- The created attribute value.
- See Also:
TargetMatchBuilder.createMatchValue()
Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.