|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.factories.RequestAttributeFactory
public class RequestAttributeFactory
Construct Commonly Used Attributes in Request Subject/Resource/Action and Environment sections
Constructor Summary | |
---|---|
RequestAttributeFactory()
|
Method Summary | |
---|---|
static AttributeType |
createAnyURIAttributeType(String attrID,
String issuer,
URI value)
Create an attribute that is of URI type |
static AttributeType |
createBase64BinaryAttributeType(String attrID,
String issuer,
byte[] value)
Create Base64 attribute |
static AttributeType |
createBooleanAttributeType(String attrID,
String issuer,
boolean value)
Create Boolean attribute |
static AttributeType |
createDateAttributeType(String attrID,
String issuer)
Create Date attribute |
static AttributeType |
createDateAttributeType(String attrID,
String issuer,
XMLGregorianCalendar value)
Create Date attribute with the passed XMLGregorianCalendar |
static AttributeType |
createDateTimeAttributeType(String attrID,
String issuer)
Create Date Time Attribute |
static AttributeType |
createDateTimeAttributeType(String attrID,
String issuer,
XMLGregorianCalendar value)
Create Date Time attribute with the passed XMLGregorianCalendar |
static AttributeType |
createDayTimeDurationAttributeType(String attrID,
String issuer,
Duration value)
Create DayTimeDuration attribute |
static AttributeType |
createDNSNameAttributeType(String attrID,
String issuer,
String hostname)
Create DNS Name Attribute |
static AttributeType |
createDoubleAttributeType(String attrID,
String issuer,
double value)
Create Double Attribute |
static AttributeType |
createEmailAttributeType(String attrID,
String issuer,
String value)
Create Email Attribute |
static AttributeType |
createHexBinaryAttributeType(String attrID,
String issuer,
byte[] value)
Create Hex Binary attribute |
static AttributeType |
createIntegerAttributeType(String attrID,
String issuer,
int value)
Create Integer Attribute |
static AttributeType |
createIPAddressAttributeType(String attrID,
String issuer,
InetAddress address)
Create IP Address attribute |
static AttributeType |
createMultiValuedAttributeType(String attrID,
String issuer,
String dataType,
String[] values)
Create multi valued attribute |
static AttributeType |
createStringAttributeType(String attrID,
String issuer,
String value)
Create String attribute |
static AttributeType |
createTimeAttributeType(String attrID,
String issuer)
Create Time attribute |
static AttributeType |
createTimeAttributeType(String attrID,
String issuer,
XMLGregorianCalendar value)
Create Time Attribute with the passed XMLGregorianCalendar |
static AttributeType |
createX509NameAttributeType(String attrID,
String issuer,
X500Principal value)
Create X509 attribute |
static AttributeType |
createYearMonthDurationAttributeType(String attrID,
String issuer,
Duration value)
Create year month duration attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestAttributeFactory()
Method Detail |
---|
public static AttributeType createAnyURIAttributeType(String attrID, String issuer, URI value)
attrID
- issuer
- value
-
public static AttributeType createBase64BinaryAttributeType(String attrID, String issuer, byte[] value)
attrID
- issuer
- value
-
public static AttributeType createBooleanAttributeType(String attrID, String issuer, boolean value)
attrID
- issuer
- value
-
public static AttributeType createDateAttributeType(String attrID, String issuer)
attrID
- issuer
-
public static AttributeType createDateAttributeType(String attrID, String issuer, XMLGregorianCalendar value)
XMLGregorianCalendar
attrID
- issuer
- value
-
public static AttributeType createDateTimeAttributeType(String attrID, String issuer)
attrID
- issuer
-
public static AttributeType createDateTimeAttributeType(String attrID, String issuer, XMLGregorianCalendar value)
XMLGregorianCalendar
attrID
- issuer
- value
-
public static AttributeType createDNSNameAttributeType(String attrID, String issuer, String hostname)
attrID
- issuer
- hostname
-
public static AttributeType createDoubleAttributeType(String attrID, String issuer, double value)
attrID
- issuer
- value
-
public static AttributeType createEmailAttributeType(String attrID, String issuer, String value)
attrID
- issuer
- value
-
public static AttributeType createHexBinaryAttributeType(String attrID, String issuer, byte[] value)
attrID
- issuer
- value
-
public static AttributeType createIntegerAttributeType(String attrID, String issuer, int value)
attrID
- issuer
- value
-
public static AttributeType createIPAddressAttributeType(String attrID, String issuer, InetAddress address)
attrID
- issuer
- address
-
public static AttributeType createStringAttributeType(String attrID, String issuer, String value)
attrID
- issuer
- value
-
public static AttributeType createTimeAttributeType(String attrID, String issuer)
attrID
- issuer
-
public static AttributeType createTimeAttributeType(String attrID, String issuer, XMLGregorianCalendar value)
XMLGregorianCalendar
attrID
- issuer
- value
-
public static AttributeType createX509NameAttributeType(String attrID, String issuer, X500Principal value)
attrID
- issuer
- value
-
public static AttributeType createDayTimeDurationAttributeType(String attrID, String issuer, Duration value)
attrID
- issuer
- value
-
public static AttributeType createYearMonthDurationAttributeType(String attrID, String issuer, Duration value)
attrID
- issuer
- value
-
public static AttributeType createMultiValuedAttributeType(String attrID, String issuer, String dataType, String[] values)
attrID
- issuer
- dataType
- values
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |