Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


oracle.security.jps.service.policystore
Class PolicyStoreFactory

java.lang.Object
  extended by oracle.security.jps.service.policystore.PolicyStoreFactory


Deprecated. Use PolicyServiceUtils instead. This class will be removed shortly.

public final class PolicyStoreFactory
extends java.lang.Object

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.

Since:
release specific (what release of product did this appear in)
Version:
$Header: jazn/jps/src/jps-api/oracle/security/jps/service/policystore/PolicyStoreFactory.java /main/4 2010/02/25 00:43:11 svepa Exp $

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

CREATE

public static final java.lang.String CREATE
Deprecated. 
Property key to create a PolicyStore. Valid values are "true" or "false".
See Also:
Constant Field Values

LOCATION

public static final java.lang.String LOCATION
Deprecated. 
Property key to the XML PolicyStore file.
See Also:
Constant Field Values

Constructor Detail

PolicyStoreFactory

public PolicyStoreFactory()
Deprecated. 

Method Detail

getPolicyStore

public static PolicyStore getPolicyStore(PolicyStoreType type,
                                         java.util.Map<java.lang.String,java.lang.String> props)
                                  throws JpsException
Deprecated. Use PolicyServiceUtils.getPolicyStore instead.
Constructs a PolicyStore given the type and a set of properties appropriate for the type of the policystore.
Parameters:
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.
Returns:
a PolicyStore
Throws:
java.lang.UnsupportedOperationException - if a PolicyStore is not XML.
JpsException - if an error occurs while instantiating the PolicyStore.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.