|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.wsm.policymanager.PolicyManagerUtil
public class PolicyManagerUtil
| Field Summary | |
|---|---|
static String |
ACTIVE_PROTOCOLName of property for determining access protocol. |
static String |
ASSERTION_TEMPLATE_TYPE |
static String |
CLASSPATH_PROTOCOL_NAMEClasspath access protocol (reads from classpath) |
static String |
FILE_PROTOCOL_NAMEFile access protocol (directly accesses file-system) |
static String |
LOCAL_PROTOCOL_NAMELocal access protocol (uses file-based MDS repository) |
static String |
POLICY_TYPE |
static String |
PROP_ASSERTION_HOME_FILEName of the property that contains the location of the assertion template repository. |
static String |
PROP_ATTACHMENT_HOME_FILEName of the property that contains the location of the policy attachment repository. |
static String |
PROP_CURRENT_DIRName of current directory. |
static String |
PROP_DEFAULT_CLASSPATH_ROOTSName of default classpath policy roots path. |
static String |
PROP_INSTANCE_HOMEName of system property that contains the location of this J2EE instance. |
static String |
PROP_MODULE_HOME_FILEAlternate (preferred) name of the property that contains the location of the policy repository. |
static String |
PROP_MODULE_HOME_MDSName of the property that contains the location of the file-based MDS repository. |
static String |
PROP_PATH_SEPARATORCharacter used to separate paths. |
static String |
PROP_POLICY_HOME_FILEName for the property that contains the location of the policy repository. |
static String |
PROP_USER_HOMEName of system property that contains the location of the user's home directory. |
static String |
REMOTE_PROTOCOL_NAMERemote access protocol (connects to Policy Manager EJBs) |
| Constructor Summary | |
|---|---|
PolicyManagerUtil() |
|
| Method Summary | |
|---|---|
static String |
getAccessProtocol(Map<String,String> properties)Get policy access protocol. |
static String |
getAssertionHome(Map<String,String> properties)Get file assertion template repository home. |
static IAssertionTemplate |
getAssertionTemplateFromArtifact(MDSArtifact mdsArtifact)Generate an assertion template using information from a MDSArtifact |
static String |
getAttachmentHome(Map<String,String> properties)Get file attachment repository home. |
static String |
getClasspathRoots(Map<String,String> properties)Get classpath policy repository home path. |
static String |
getFQName(String name, String prefix)Normalizes the passed name and appends the prefix supplied to make a fully qualified MDS name |
static String |
getMdsHome(Map<String,String> properties)Get file-based MDS repository home. |
static IPolicy |
getPolFromArtifact(MDSArtifact mdsArtifact)Generate a policy object using information from a MDSArtifact |
static String |
getPolicyHome(Map<String,String> properties)Get file policy repository home. |
static boolean |
validatePolicy(IPolicy policy)This method will validate the policy and return 'true' for valid policy and 'false' for Invalid policy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTIVE_PROTOCOL
public static final String CLASSPATH_PROTOCOL_NAME
public static final String FILE_PROTOCOL_NAME
public static final String LOCAL_PROTOCOL_NAME
public static final String REMOTE_PROTOCOL_NAME
public static final String PROP_MODULE_HOME_MDS
public static final String PROP_ASSERTION_HOME_FILE
public static final String PROP_ATTACHMENT_HOME_FILE
public static final String PROP_POLICY_HOME_FILE
public static final String PROP_MODULE_HOME_FILE
public static final String PROP_INSTANCE_HOME
public static final String PROP_USER_HOME
public static final String PROP_PATH_SEPARATOR
public static final String PROP_DEFAULT_CLASSPATH_ROOTS
public static final String PROP_CURRENT_DIR
public static final String ASSERTION_TEMPLATE_TYPE
public static final String POLICY_TYPE
| Constructor Detail |
|---|
public PolicyManagerUtil()
| Method Detail |
|---|
public static String getAccessProtocol(Map<String,String> properties)
The value will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - Primary configuration from which to retrieve protocol (must not be null)public static String getMdsHome(Map<String,String> properties)
The home will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - map of properties to checkpublic static String getAssertionHome(Map<String,String> properties)
The home will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - map of properties to checkpublic static String getAttachmentHome(Map<String,String> properties)
The home will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - map of properties to checkpublic static String getClasspathRoots(Map<String,String> properties)
The home will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - map of properties to checkpublic static String getPolicyHome(Map<String,String> properties)
The home will be obtained either from the supplied property map or a system property, or a suitable default will be calculated, if neither is available. The order of precedence is as follows:
properties - map of properties to check
public static String getFQName(String name,
String prefix)
name -prefix -public static boolean validatePolicy(IPolicy policy)
policy -
public static IPolicy getPolFromArtifact(MDSArtifact mdsArtifact)
throws PolicyManagerException
mdsArtifact -PolicyManagerException
public static IAssertionTemplate getAssertionTemplateFromArtifact(MDSArtifact mdsArtifact)
throws PolicyManagerException
mdsArtifact -PolicyManagerException
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||