|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| 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 |
CREATEDeprecated. Property key to create a PolicyStore. |
static java.lang.String |
LOCATIONDeprecated. 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.XMLprops - - 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. |
PolicyStorejava.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 Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||