@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.description",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@ImmutableInfo(value="true")
@Since(value="11.1.1.0.0")
@Visibility(value=Advanced)
@SystemMBean
public interface JpsGlobalPolicyStoreMXBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RBN
Data member to hold the Resource Bundle that wil be used.
|
Modifier and Type | Method and Description |
---|---|
PortablePermission[] |
getCodeSourcePermissions(PortableCodeSource codeSource)
Returns the permissions granted to the passed in code source.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigurationProperties()
Function to return the configuration parameters that are associated with the Store.
|
PortablePermission[] |
getPermissions(PortablePrincipal principal)
Returns the permissions granted to the passed in principal.
|
oracle.security.jps.service.policystore.PolicyStoreType |
getStoreType()
Function to get the Type of the Store.
|
PortableJavaPolicy |
getSystemPolicy()
Function to return the System (Global) Policy associated with the Store.
|
void |
grantToSystemPolicy(PortableGrant[] arrPortableGrant)
Function to add grants to the System (Global) Policy.
|
void |
persist()
Function to save the policy store after changes have been made.
|
void |
refresh()
Function to make the Policy store to reload information from the storage.
|
void |
revokeFromSystemPolicy(PortableGrant[] arrPortableGrants)
Function to remove grants from the System (Global) Policy.
|
static final java.lang.String RBN
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getStoreType", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=0) oracle.security.jps.service.policystore.PolicyStoreType getStoreType() throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getConfigurationProperties", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=0) java.util.Map<java.lang.String,java.lang.String> getConfigurationProperties() throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getSystemPolicy", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=0) PortableJavaPolicy getSystemPolicy() throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.grantToSystemPolicy", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=1) void grantToSystemPolicy(PortableGrant[] arrPortableGrant) throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
arrPortableGrant
- Array of Grant which has to be given granted.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.revokeFromSystemPolicy", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=1) void revokeFromSystemPolicy(PortableGrant[] arrPortableGrants) throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
arrPortableGrants
- The array of PortableGrant which contains information about the Grantoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.persist", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=1) void persist() throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.refresh", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=1) void refresh() throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getPermissions", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=0) PortablePermission[] getPermissions(PortablePrincipal principal) throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
principal
- Principaloracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getCodeSourcePermissions", resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages") @Impact(value=0) PortablePermission[] getCodeSourcePermissions(PortableCodeSource codeSource) throws oracle.as.jmx.framework.exceptions.ManagementException, java.io.IOException
codeSource
- PortableCodeSourceoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejava.io.IOException
- Exception if it was not possible to communicate with the server object