|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.service.policystore.PolicyStoreFactory
Deprecated. Use PolicyServiceUtils
instead. This class will be removed shortly.
public final class PolicyStoreFactory
A factory object to create an in-memory or transient PolicyStore
of a specific type.
The PolicyStore
meta-data is not stored in a JPS configuration store. Rather, a PolicyStore
is created on-the-fly with user supplied parameters.
Field Summary | |
---|---|
static java.lang.String |
CREATE Deprecated. Property key to create a PolicyStore. |
static java.lang.String |
LOCATION Deprecated. Property key to the XML PolicyStore file. |
Constructor Summary | |
---|---|
PolicyStoreFactory() Deprecated. |
Method Summary | |
---|---|
static PolicyStore |
getPolicyStore(PolicyStoreType type, java.util.Map<java.lang.String,java.lang.String> props) Deprecated. Use PolicyServiceUtils.getPolicyStore instead. |
static void |
main(java.lang.String[] args) Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CREATE
public static final java.lang.String LOCATION
Constructor Detail |
---|
public PolicyStoreFactory()
Method Detail |
---|
public static PolicyStore getPolicyStore(PolicyStoreType type, java.util.Map<java.lang.String,java.lang.String> props) throws JpsException
PolicyServiceUtils.getPolicyStore
instead.PolicyStore
given the type and a set of properties appropriate for the type of the policystore.type
- - of PolicyStore to create. Supported value(s): PolicyStoreType.XML
props
- - properties with which to construct the policystore.
Key | Valid Value(s) | Meaning |
LOCATION | a file path | path to the XML PolicyStore (either to be created, or already exists). |
CREATE | true,false | if true - create a new policystore. The file is created when the store is persisted. If false, read the file as an XML PolicyStore. |
PolicyStore
java.lang.UnsupportedOperationException
- if a PolicyStore
is not XML.JpsException
- if an error occurs while instantiating the PolicyStore.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |