Skip navigation links

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

E14651-06


oracle.security.jps.mas.mgmt.jmx.config
Class JpsConfigMBeanHelper

java.lang.Object
  extended by oracle.security.jps.mas.mgmt.jmx.config.JpsConfigMBeanHelper


public final class JpsConfigMBeanHelper
extends java.lang.Object

Helper class which is responsible for translation of internal data structures to open type etc.


Constructor Summary
JpsConfigMBeanHelper()
           

 

Method Summary
static void applyVisitors(oracle.security.jps.internal.api.common.ServiceConfigurator sc, java.util.Map<java.lang.String,java.lang.Object> reassociationMap)
           
static PortableLoginModule convertServiceInstanceTypeToPortableLoginModule(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit)
          Function to convert a ServiceInstanceType into a PortableLoginModule
static java.util.Map<java.lang.String,java.lang.String> getModifiableMapFromPortableMap(PortableMap mp)
          Helper function to get a Writable Map from a PortableMap.
static java.lang.String getReferenceNameForTypeInCtx(oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper helper, java.lang.String ctxName, oracle.security.jps.v11_1.config.jaxb.ServiceType type, oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper.CtxOperations op)
          Function which will look at all the References that are available in the passed ctx.
static oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType getServiceInstanceType(oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper helper, java.lang.String siName, java.lang.String name)
          If the specified siName identifies a PolicyStore service and the specified property name belongs to PDP service, then return the PDP service instance type, otherwise return the service instance type of the given siName.
static java.lang.String updateServiceInstanceProperty(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit, java.lang.String name, java.lang.String value)
           
static void validateRequiredArguments(java.util.List<java.lang.String> reqdArgs, java.util.Map<java.lang.String,java.lang.String> mp)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JpsConfigMBeanHelper

public JpsConfigMBeanHelper()

Method Detail

convertServiceInstanceTypeToPortableLoginModule

public static PortableLoginModule convertServiceInstanceTypeToPortableLoginModule(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit)
Function to convert a ServiceInstanceType into a PortableLoginModule
Parameters:
sit - ServiceInstanceType which has to be converted
Returns:
PortableLoginModule which is the converted value

getModifiableMapFromPortableMap

public static java.util.Map<java.lang.String,java.lang.String> getModifiableMapFromPortableMap(PortableMap mp)
Helper function to get a Writable Map from a PortableMap.
Parameters:
mp - Portable Map who's Map should be converted to a Writable Map
Returns:
Writable Map

getReferenceNameForTypeInCtx

public static java.lang.String getReferenceNameForTypeInCtx(oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper helper,
                                                            java.lang.String ctxName,
                                                            oracle.security.jps.v11_1.config.jaxb.ServiceType type,
                                                            oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper.CtxOperations op)
                                                     throws oracle.as.jmx.framework.exceptions.ManagementException
Function which will look at all the References that are available in the passed ctx. It will then chk if any of the reference are of the type passed.
Parameters:
helper - The Helper object which should be used for the lookup
ctxName - Name of the Ctx to look up
type - The Type which we have to chk
Returns:
String which is the reference name for the type in the ctx
Throws:
oracle.as.jmx.framework.exceptions.ManagementException

getServiceInstanceType

public static oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType getServiceInstanceType(oracle.security.jps.mas.mgmt.jmx.config.util.JpsConfigJAXBHelper helper,
                                                                                               java.lang.String siName,
                                                                                               java.lang.String name)
                                                                                        throws oracle.as.jmx.framework.exceptions.ManagementException
If the specified siName identifies a PolicyStore service and the specified property name belongs to PDP service, then return the PDP service instance type, otherwise return the service instance type of the given siName.
Parameters:
helper -
siName - service instance name
name - the property name
Returns:
the service instance type, null if not exist
Throws:
oracle.as.jmx.framework.exceptions.ManagementException

updateServiceInstanceProperty

public static java.lang.String updateServiceInstanceProperty(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit,
                                                             java.lang.String name,
                                                             java.lang.String value)

validateRequiredArguments

public static void validateRequiredArguments(java.util.List<java.lang.String> reqdArgs,
                                             java.util.Map<java.lang.String,java.lang.String> mp)

applyVisitors

public static void applyVisitors(oracle.security.jps.internal.api.common.ServiceConfigurator sc,
                                 java.util.Map<java.lang.String,java.lang.Object> reassociationMap)
                          throws oracle.as.jmx.framework.exceptions.ManagementException
Throws:
oracle.as.jmx.framework.exceptions.ManagementException

Skip navigation links

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

E14651-06


Copyright © 2013 Oracle. All rights reserved.