org.jboss.security.xacml.factories
Class PolicyAttributeFactory
java.lang.Object
org.jboss.security.xacml.factories.PolicyAttributeFactory
public class PolicyAttributeFactory
- extends Object
Static class that has methods to create AttributeValueTypes
for constructing policies
- Since:
- Jul 20, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyAttributeFactory
public PolicyAttributeFactory()
createAnyURIAttributeType
public static AttributeValueType createAnyURIAttributeType(URI value)
createBase64BinaryAttributeType
public static AttributeValueType createBase64BinaryAttributeType(byte[] value)
createBooleanAttributeType
public static AttributeValueType createBooleanAttributeType(boolean value)
createDateAttributeType
public static AttributeValueType createDateAttributeType()
createDateAttributeType
public static AttributeValueType createDateAttributeType(XMLGregorianCalendar value)
createDateTimeAttributeType
public static AttributeValueType createDateTimeAttributeType()
createDateTimeAttributeType
public static AttributeValueType createDateTimeAttributeType(XMLGregorianCalendar value)
createDNSNameAttributeType
public static AttributeValueType createDNSNameAttributeType(String hostname)
createDoubleAttributeType
public static AttributeValueType createDoubleAttributeType(double value)
createEmailAttributeType
public static AttributeValueType createEmailAttributeType(String value)
createHexBinaryAttributeType
public static AttributeValueType createHexBinaryAttributeType(byte[] value)
createIntegerAttributeType
public static AttributeValueType createIntegerAttributeType(int value)
createIPAddressAttributeType
public static AttributeValueType createIPAddressAttributeType(InetAddress address)
createStringAttributeType
public static AttributeValueType createStringAttributeType(String value)
createTimeAttributeType
public static AttributeValueType createTimeAttributeType()
createTimeAttributeType
public static AttributeValueType createTimeAttributeType(XMLGregorianCalendar value)
createX509NameAttributeType
public static AttributeValueType createX509NameAttributeType(X500Principal value)
createDayTimeDurationAttributeType
public static AttributeValueType createDayTimeDurationAttributeType(Duration value)
createYearMonthDurationAttributeType
public static AttributeValueType createYearMonthDurationAttributeType(Duration value)
createAttributeDesignatorType
public static AttributeDesignatorType createAttributeDesignatorType(String id,
String dataType,
String issuer,
boolean mustBePresent)
createSubjectAttributeDesignatorType
public static SubjectAttributeDesignatorType createSubjectAttributeDesignatorType(String id,
String dataType,
String issuer,
boolean mustBePresent,
String subjectCategory)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.