Home >> All >> com >> sun >> xacml >> [ attr Javadoc ] |
| com.sun.xacml.attr.proxy.* (14) |
com.sun.xacml.attr: Javadoc index of package com.sun.xacml.attr.
Package Samples:
com.sun.xacml.attr.proxy: Contains many of the classes related to attributes and attribute retrieval.
Classes:
StandardAttributeFactory: This factory supports the standard set of datatypes specified in XACML 1.0 and 1.1. It is the default factory used by the system, and imposes a singleton pattern insuring that there is only ever one instance of this class. Note that because this supports only the standard datatypes, this factory does not allow the addition of any other datatypes. If you call addDatatype on an instance of this class, an exception will be thrown. If you need a standard factory that is modifiable, you should create a new BaseAttributeFactory (or some other AttributeFactory ) and configure it with the standard datatypes ...
BaseAttributeFactory: This is a basic implementation of AttributeFactory . It implements the insertion and retrieval methods, but doesn't actually setup the factory with any datatypes. Note that while this class is thread-safe on all creation methods, it is not safe to add support for a new datatype while creating an instance of a value. This follows from the assumption that most people will initialize these factories up-front, and then start processing without ever modifying the factories. If you need these mutual operations to be thread-safe, then you should write a wrapper class that implements the right synchronization ...
StringAttribute: Representation of an xs:string value. This class supports parsing xs:string values. All objects of this class are immutable and all methods of the class are thread-safe. Note that there is currently some confusion in the XACML specification about whether this datatype should be able to handle XML elements (ie, whether <AttributeValue DataType="...string"><foo/> </AttributeValue> is valid). Until that is clarified the strict definition of the string datatype is used in this code, which means that elements are not valid.
BagAttribute: Represents a bag used in the XACML spec as return values from functions and designators/selectors that provide more than one value. All values in the bag are of the same type, and the bag may be empty. The bag is immutable, although its contents may not be. NOTE: This is the one standard attribute type that can't be created from the factory, since you can't have this in an XML block (it is used only in return values & dynamic inputs). I think this is right, but we may need to add some functionality to let this go into the factory.
AttributeValue: The base type for all datatypes used in a policy or request/response, this abstract class represents a value for a given attribute type. All the required types defined in the XACML specification are provided as instances of AttributeValue s. If you want to provide a new type, extend this class and implement the equals(Object) and hashCode methods from Object , which are used for equality checking.
Base64: Class that knows how to encode and decode Base64 values. Base64 Content-Transfer-Encoding rules are defined in Section 6.8 of IETF RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies , available at ftp://ftp.isi.edu/in-notes/rfc2045.txt . All methods of this class are static and thread-safe.
AttributeSelector: Supports the standard selector functionality in XACML, which uses XPath expressions to resolve values from the Request or elsewhere. All selector queries are done by AttributeFinderModule s so that it's easy to plugin different XPath implementations.
YearMonthDurationAttribute: Representation of an xf:yearMonthDuration value. This class supports parsing xd:yearMonthDuration values. All objects of this class are immutable and thread-safe. The Date objects returned are not, but these objects are cloned before being returned.
DayTimeDurationAttribute: Representation of an xf:dayTimeDuration value. This class supports parsing xd:dayTimeDuration values. All objects of this class are immutable and thread-safe. The Date objects returned are not, but these objects are cloned before being returned.
AttributeProxy: Used by the AttributeFactory to create new attributes. Typically a new proxy class is created which in turn knows how to create a specific kind of attribute, and then this proxy class is installed in the AttributeFactory .
DateTimeAttribute: Representation of an xs:dateTime value. This class supports parsing xs:dateTime values. All objects of this class are immutable and thread-safe. The Date objects returned are not, but these objects are cloned before being returned.
DateAttribute: Representation of an xs:date value. This class supports parsing xs:date values. All objects of this class are immutable and thread-safe. The Date objects returned are not, but these objects are cloned before being returned.
TimeAttribute: Representation of an xs:time value. This class supports parsing xs:time values. All objects of this class are immutable and thread-safe. The Date objects returned are not, but these objects are cloned before being returned.
AttributeFactory: This is an abstract factory class for creating XACML attribute values. There may be any number of factories available in the system, though there is always one default factory used by the core code.
Base64BinaryAttribute: Representation of an xsi:base64Binary value. This class supports parsing xsi:base64Binary values. All objects of this class are immutable and all methods of the class are thread-safe.
HexBinaryAttribute: Representation of an xsi:hexBinary value. This class supports parsing xsi:hexBinary values. All objects of this class are immutable and all methods of the class are thread-safe.
BooleanAttribute: Representation of an xs:boolean value. This class supports parsing xs:boolean values. All objects of this class are immutable and all methods of the class are thread-safe.
DoubleAttribute: Representation of an xsi:double value. This class supports parsing xsi:double values. All objects of this class are immutable and all methods of the class are thread-safe.
IntegerAttribute: Representation of an xs:integer value. This class supports parsing xs:integer values. All objects of this class are immutable and all methods of the class are thread-safe.
AnyURIAttribute: Representation of an xs:anyURI value. This class supports parsing xs:anyURI values.
AnyURIAttributeProxy: A proxy class that is provided mainly for the run-time configuration code to use.
Base64BinaryAttributeProxy: A proxy class that is provided mainly for the run-time configuration code to use.
BooleanAttributeProxy: A proxy class that is provided mainly for the run-time configuration code to use.
DateAttributeProxy: A proxy class that is provided mainly for the run-time configuration code to use.
Home | Contact Us | Privacy Policy | Terms of Service |