org.jboss.security.xacml.factories
Class PolicyAttributeFactory

java.lang.Object
  extended by 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

Constructor Summary
PolicyAttributeFactory()
           
 
Method Summary
static AttributeValueType createAnyURIAttributeType(URI value)
           
static AttributeDesignatorType createAttributeDesignatorType(String id, String dataType, String issuer, boolean mustBePresent)
           
static AttributeValueType createBase64BinaryAttributeType(byte[] value)
           
static AttributeValueType createBooleanAttributeType(boolean value)
           
static AttributeValueType createDateAttributeType()
           
static AttributeValueType createDateAttributeType(XMLGregorianCalendar value)
           
static AttributeValueType createDateTimeAttributeType()
           
static AttributeValueType createDateTimeAttributeType(XMLGregorianCalendar value)
           
static AttributeValueType createDayTimeDurationAttributeType(Duration value)
           
static AttributeValueType createDNSNameAttributeType(String hostname)
           
static AttributeValueType createDoubleAttributeType(double value)
           
static AttributeValueType createEmailAttributeType(String value)
           
static AttributeValueType createHexBinaryAttributeType(byte[] value)
           
static AttributeValueType createIntegerAttributeType(int value)
           
static AttributeValueType createIPAddressAttributeType(InetAddress address)
           
static AttributeValueType createStringAttributeType(String value)
           
static SubjectAttributeDesignatorType createSubjectAttributeDesignatorType(String id, String dataType, String issuer, boolean mustBePresent, String subjectCategory)
           
static AttributeValueType createTimeAttributeType()
           
static AttributeValueType createTimeAttributeType(XMLGregorianCalendar value)
           
static AttributeValueType createX509NameAttributeType(X500Principal value)
           
static AttributeValueType createYearMonthDurationAttributeType(Duration value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyAttributeFactory

public PolicyAttributeFactory()
Method Detail

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.