com.unboundid.directory.sdk.broker.types
Class RequestAttribute

java.lang.Object
  extended by com.unboundid.directory.sdk.broker.types.RequestAttribute

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class RequestAttribute
extends java.lang.Object

This bean object may be used to return a XACML attribute from the Identity Broker's Policy Information Point (PIP).


Constructor Summary
RequestAttribute(java.lang.String dataType, java.util.List<java.lang.String> values)
          Construct a RequestAttribute object with the specified data type and values.
 
Method Summary
 java.lang.String getDataType()
          Get the XACML data type of the values of this request attribute.
 java.util.List<java.lang.String> getValues()
          Get the values of this request attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAttribute

public RequestAttribute(java.lang.String dataType,
                        java.util.List<java.lang.String> values)
Construct a RequestAttribute object with the specified data type and values.

Parameters:
dataType - XACML data type URI string, must not be null Must be a value from the set of data types described in Appendix A.2 of the specification "OASIS Extensible Access Control Markup Language (XACML) Version 3.0" Example: "http://www.w3.org/2001/XMLSchema#string".
values - list of values, may be empty but not null. Each string must be formatted according to its XML data type.
Method Detail

getValues

public java.util.List<java.lang.String> getValues()
Get the values of this request attribute.

Returns:
values as a list of strings

getDataType

public java.lang.String getDataType()
Get the XACML data type of the values of this request attribute.

Returns:
XACML data type URI