|
SunTM's XACML Implementation for JavaTM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xacml.combine.CombiningAlgFactory
com.sun.xacml.combine.BaseCombiningAlgFactory
com.sun.xacml.combine.StandardCombiningAlgFactory
This factory supports the standard set of algorithms 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 algorithms, this
factory does not allow the addition of any other algorithms. If you call
addAlgorithm
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 BaseCombiningAlgFactory
(or some other
CombiningAlgFactory
) and configure it with the standard
algorithms using getStandardAlgorithms
(or, in the case of
BaseAttributeFactory
, by providing the datatypes in the
constructor).
Method Summary | |
void |
addAlgorithm(CombiningAlgorithm alg)
Throws an UnsupportedOperationException since you are not
allowed to modify what a standard factory supports. |
static StandardCombiningAlgFactory |
getFactory()
Returns an instance of this factory. |
Set |
getStandardAlgorithms()
Returns the set of algorithms that this standard factory supports. |
Methods inherited from class com.sun.xacml.combine.BaseCombiningAlgFactory |
createAlgorithm, getSupportedAlgorithms |
Methods inherited from class com.sun.xacml.combine.CombiningAlgFactory |
addCombiningAlg, createCombiningAlg, getInstance, setDefaultFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static StandardCombiningAlgFactory getFactory()
CombiningAlgFactory
, ensuring quick
access to this factory.
public Set getStandardAlgorithms()
Set
of CombiningAlgorithm
spublic void addAlgorithm(CombiningAlgorithm alg)
UnsupportedOperationException
since you are not
allowed to modify what a standard factory supports.
addAlgorithm
in class BaseCombiningAlgFactory
alg
- the combining algorithm to add
UnsupportedOperationException
- always
|
Sun's XACML Implementation Version 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.