public final class JpsConfigMBeanHelper
extends java.lang.Object
Constructor and Description |
---|
JpsConfigMBeanHelper() |
Modifier and Type | Method and Description |
---|---|
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) |
public static PortableLoginModule convertServiceInstanceTypeToPortableLoginModule(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit)
sit
- ServiceInstanceType which has to be convertedpublic static java.util.Map<java.lang.String,java.lang.String> getModifiableMapFromPortableMap(PortableMap mp)
mp
- Portable Map who's Map should be converted to a Writable Mappublic 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
helper
- The Helper object which should be used for the lookupctxName
- Name of the Ctx to look uptype
- The Type which we have to chkoracle.as.jmx.framework.exceptions.ManagementException
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
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
.helper
-siName
- service instance namename
- the property nameoracle.as.jmx.framework.exceptions.ManagementException
public static java.lang.String updateServiceInstanceProperty(oracle.security.jps.v11_1.config.jaxb.ServiceInstanceType sit, java.lang.String name, java.lang.String value)
public static void validateRequiredArguments(java.util.List<java.lang.String> reqdArgs, java.util.Map<java.lang.String,java.lang.String> mp)
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
oracle.as.jmx.framework.exceptions.ManagementException