|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14651-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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 JpsApplicationPolicyStoreMXBean
This interface exposes methods that can be used via MBeans to perform operations on the Policy Store.
Field Summary | |
---|---|
static java.lang.String |
RBN Data member to hold the ResourceBundle that will be used. |
Method Summary | |
---|---|
void |
addMembersToApplicationRole(java.lang.String strAppId, PortableApplicationRole appRole, PortableRoleMember[] arrMembers) Function to Add Members to a specfic Application Role. |
void |
addResourceToEntitlement(java.lang.String appStripe, java.lang.String name, java.lang.String resourceName, java.lang.String resourceType, java.lang.String actions) Adds a member resource to a Permission Set in a given application stripe |
void |
createAdminRole(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName, java.lang.String displayName, java.lang.String description) Creates an admin role with the given name |
void |
createApplicationPolicy(java.lang.String appId) Creates an application policy given the application name - appid . |
PortableApplicationRole |
createApplicationRole(java.lang.String strAppId, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String guid) Function to create an application role. |
void |
createAttribute(java.lang.String appStripe, java.lang.String name, java.lang.String displayname, java.lang.String description, java.lang.String type, java.lang.String category, boolean isSingle, java.lang.String[] values) Create an attribute |
void |
createEntitlement(java.lang.String appStripe, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String resourceName, java.lang.String resourceType, java.lang.String actions) Create a Permission Set in a given application stripe |
void |
createFunction(java.lang.String appId, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String className, java.lang.String returnType, java.lang.String[] paramTypes) Function to create a new custom function in the given application |
void |
createPolicy(java.lang.String appStripe, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String ruleExpression, java.lang.String[] entitlements, java.lang.String resActionList, PortablePrincipal[] principals, java.lang.String codeSource, java.lang.String obligationList, java.lang.String semantic) Create an advanced policy entry in the given application |
void |
createResource(java.lang.String appStripe, java.lang.String name, java.lang.String type, java.lang.String displayName, java.lang.String description) Create a Resource in a given application stripe |
void |
createResourceType(java.lang.String appStripe, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String provider, java.lang.String matcher, java.lang.String[] allowedActions, java.lang.String delimiter) Create a ResourceType in a given application stripe |
void |
deleteAdminRole(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName) Deletes an admin role with the given name |
void |
deleteApplicationPolicy(java.lang.String appId) Delete an application policy given the application name - appid . |
void |
deleteAttribute(java.lang.String appStripe, java.lang.String name) Delete an attribute |
void |
deleteEntitlement(java.lang.String appStripe, java.lang.String permSetName) Delete a PermissionSet from a given application stripe |
void |
deleteFunction(java.lang.String appId, java.lang.String name) Function to delete the given custom function |
void |
deletePolicy(java.lang.String appStripe, java.lang.String name) Delete a policy that is present in the mentioned application |
void |
deleteResource(java.lang.String appStripe, java.lang.String resourceName, java.lang.String resourceTypeName) Delete a Resource from a given application stripe |
void |
deleteResourceType(java.lang.String appStripe, java.lang.String resourceTypeName) Delete a ResourceType from a given application stripe |
PortableApplicationRole[] |
getAllApplicationRoles(java.lang.String strAppId) Function to retrieve the different Application Roles associated with an application. |
PortableJavaPolicy |
getApplicationPolicy(java.lang.String appId) Return the Policy for the application. |
PortableApplicationRole |
getApplicationRole(java.lang.String strAppId, java.lang.String name) Function to retrieve an already created application role. |
PortablePermission[] |
getCodeSourcePermissions(java.lang.String appId, PortableCodeSource codeSource) Returns the permissions granted to the passed in code source. |
java.lang.String[] |
getConfiguredApplications() Function to retrieve the Names of Applications whose policies that are present in the policy store. |
PortablePermissionSet |
getEntitlement(java.lang.String appStripe, java.lang.String permSetName) Get a Permission Set from a given application stripe |
PortableFunction |
getFunction(java.lang.String appId, java.lang.String name) Function to obtain the function with given name |
PortableApplicationRole[] |
getGrantedApplicationRoles(java.lang.String strAppId, PortableRoleMember roleMember) Function to return the Application Roles which have been granted to the principal. |
PortableRoleMember[] |
getMembersForApplicationRole(java.lang.String strAppId, PortableApplicationRole appRole) Function to retrieve the different Members for a specific application role. |
PortablePermission[] |
getPermissions(java.lang.String appId, PortablePrincipal principal) Returns the permissions granted to the passed in principal. |
PortablePolicy[] |
getPolicies(java.lang.String appStripe, java.lang.String entitlement) Function to retrieve policies having an entitlement in an application. |
PortableResource |
getResource(java.lang.String appStripe, java.lang.String resourceName, java.lang.String resourceTypeName) Get a Resource from a given application stripe |
PortableResourceType |
getResourceType(java.lang.String appStripe, java.lang.String resourceTypeName) Get a ResourceType from a given application stripe |
void |
grantAdminResource(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName, java.lang.String adminResource, java.lang.String action) Grant administrative resource actions to an admin role |
void |
grantAdminRole(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName, PortablePrincipal principal) Grant an admin role to a given principal |
void |
grantEntitlement(java.lang.String appStripe, java.lang.String entitlementName, PortablePrincipal principal) Grants the permission set to a principal |
void |
grantToApplicationPolicy(java.lang.String strAppId, PortableGrant[] arrPortableGrants) Function to add grants to a specific Application Policy. |
java.lang.Boolean[] |
hasPermission(java.lang.String appId, PortablePermission[] arrPerms) Function to check which Permission(s) the user has for an application |
java.lang.Boolean[] |
hasPermission(java.lang.String appId, javax.security.auth.Subject user, PortablePermission[] arrPerms) Function to check which Permission(s) the user has for an application |
PortableAdminResourceAction[] |
listAdminResources(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName) List the administrative resource actions for an admin role |
PortablePrincipal[] |
listAdminRoleMembers(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName) List principals granted to the admin role |
oracle.security.jps.mas.mgmt.jmx.policy.PortableAdminRole[] |
listAdminRoles(java.lang.String appStripe, java.lang.String policyDomainName) List admin roles |
java.lang.String[] |
listAppStripes(java.lang.String regex) Lists all app stripes from the configured policy store |
PortableAttribute[] |
listAttributes(java.lang.String appStripe, boolean hideBuiltIn) List all attributes in the given application |
PortablePermissionSet[] |
listEntitlements(java.lang.String appStripe, java.lang.String resourceTypeName, java.lang.String resourceName) Lists all permission sets from a given application stripe |
PortableFunction[] |
listFunctions(java.lang.String appId, boolean hideBuiltIn) Function to list all functions in the given application |
PortablePolicy[] |
listPolicies(java.lang.String appStripe) List all policy entries in this application. |
PortableResourceActions[] |
listResourceActions(java.lang.String appStripe, java.lang.String permSetName) Lists all resource actions from a given application stripe for a given permission set |
PortableResource[] |
listResources(java.lang.String appStripe, java.lang.String resourceTypeName) Lists all resources from a given application stripe |
PortableResourceType[] |
listResourceTypes(java.lang.String appStripe) Lists all resource types from a given application stripe |
void |
removeApplicationRole(java.lang.String strAppId, java.lang.String name) Function to delete an application role. |
void |
removeMembersFromApplicationRole(java.lang.String strAppId, PortableApplicationRole appRole, PortableRoleMember[] arrMembers) Function to remove Members from a specfic Application Role. |
void |
revokeAdminResource(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName, java.lang.String adminResource, java.lang.String action) Revoke administrative resource actions from an admin role |
void |
revokeAdminRole(java.lang.String appStripe, java.lang.String policyDomainName, java.lang.String adminRoleName, PortablePrincipal principal) Revoke an admin role from a given principal |
void |
revokeEntitlement(java.lang.String appStripe, java.lang.String entitlementName, PortablePrincipal principal) Revokes the permission set from a principal |
void |
revokeFromApplicationPolicy(java.lang.String strAppId, PortableGrant[] arrPortableGrants) Function to revoke grants from a specific Application Policy. |
void |
revokeResourceFromEntitlement(java.lang.String appStripe, java.lang.String name, java.lang.String resourceName, java.lang.String resourceType, java.lang.String actions) Revokes a member resource to a Permission Set in a given application stripe |
void |
updateApplicationRole(java.lang.String strAppId, java.lang.String appRoleName, java.lang.String newDescription, java.lang.String newDisplayName) Function to update description and display name for an existing application role. |
void |
updateAttribute(java.lang.String appStripe, java.lang.String name, java.lang.String displayname, java.lang.String description, java.lang.String[] values) Update values of an attribute |
void |
updateFunction(java.lang.String appId, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String className, java.lang.String returnType, java.lang.String[] paramTypes) Function to update a custom function with given values |
void |
updatePolicy(java.lang.String appStripe, java.lang.String policy, java.lang.String displayName, java.lang.String description, java.lang.String ruleExpression, java.lang.String[] entitlements, java.lang.String resActionsList, PortablePrincipal[] principals, java.lang.String codeSource, java.lang.String obligationsList) Update elements of an existing policy |
void |
updateResource(java.lang.String appStripe, java.lang.String name, java.lang.String type, java.lang.String displayName, java.lang.String description, PortableAttribute[] attributes) Update the resource in the given application stripe. |
void |
updateResourceType(java.lang.String appStripe, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String[] allowedActions, java.lang.String delimiter, java.lang.String[] attributes, java.lang.String provider, java.lang.String matcher, java.lang.Boolean hierarchicalResource, java.lang.Character resourceNameDelimiter) Update a ResourceType in a given application stripe, with new properties |
Field Detail |
---|
static final java.lang.String RBN
Method Detail |
---|
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getConfiguredApplications",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
java.lang.String[] getConfiguredApplications()
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.getApplicationPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableJavaPolicy getApplicationPolicy(java.lang.String appId)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appId
- Application Id who's policy is to be retrievedoracle.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.grantToApplicationPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void grantToApplicationPolicy(java.lang.String strAppId,
PortableGrant[] arrPortableGrants)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Id where the grant has to be performedarrPortableGrants
- The array of PortableGrant which contains information about the Grantsoracle.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.revokeFromApplicationPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void revokeFromApplicationPolicy(java.lang.String strAppId,
PortableGrant[] arrPortableGrants)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Id where the revoke has to be performedarrPortableGrants
- The array of PortableGrant which contains information about the Grantsoracle.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.createAppRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
PortableApplicationRole createApplicationRole(java.lang.String strAppId,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String guid)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Id where the role is to be createdname
- Name to be used for the Application RoledisplayName
- Display Name for the Application Roledescription
- Description for the Aplication Roleguid
- String representing the Guidoracle.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.createAppRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updateApplicationRole(java.lang.String strAppId,
java.lang.String appRoleName,
java.lang.String newDescription,
java.lang.String newDisplayName)
throws oracle.as.jmx.framework.exceptions.ManagementException
strAppId
- Application Id where the role is createdappRoleName
- Name of the Application RolenewDisplayName
- The new Display Name for the Application RolenewDescription
- The new Description for the Application Roleoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encanpsulate the reason for the failure
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.updateFunction",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updateFunction(java.lang.String appId,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String className,
java.lang.String returnType,
java.lang.String[] paramTypes)
throws javax.management.MBeanException
appId
- Application Id of application who's function has to be updatedname
- Name of function to be createddisplayName
- Display name for the functiondescription
- Short description of the functionclassName
- Name of class to which the function belongsreturnType
- Return type of the functionparamTypes
- Array of String having entries as types of parametersjavax.management.MBeanException
- Exception that will encanpsulate the reason for the failure
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createFunction",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createFunction(java.lang.String appId,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String className,
java.lang.String returnType,
java.lang.String[] paramTypes)
throws javax.management.MBeanException
appId
- Application Id of the application for which the function has to be createdname
- Name of function to be createddisplayName
- Display name for the functiondescription
- Short description of the functionclassName
- Name of class to which the function belongsreturnType
- Return type of the functionparamTypes
- Array of String having entries as types of parametersjavax.management.MBeanException
- Exception that will encanpsulate the reason for the failure
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteFunction",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteFunction(java.lang.String appId,
java.lang.String name)
throws javax.management.MBeanException
appId
- Application Id who's function has to be deletedname
- Name of function to be deletedjavax.management.MBeanException
- Exception that will encanpsulate the reason for the failure
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getAppRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableApplicationRole getApplicationRole(java.lang.String strAppId,
java.lang.String name)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Id where the role has been createdname
- Name of the Application Roleoracle.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.removeAppRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void removeApplicationRole(java.lang.String strAppId,
java.lang.String name)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Id where the role has to be deletedname
- The Name of the Application Role that has to be removedoracle.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.getApplicationRoles",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableApplicationRole[] getAllApplicationRoles(java.lang.String strAppId)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application Idoracle.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.getMembersForApplicationRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableRoleMember[] getMembersForApplicationRole(java.lang.String strAppId,
PortableApplicationRole appRole)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application IdappRole
- Application Role for which we want to get the membersoracle.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.addMembersToApplicationRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void addMembersToApplicationRole(java.lang.String strAppId,
PortableApplicationRole appRole,
PortableRoleMember[] arrMembers)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application idappRole
- Application Role for which we want to add membersarrMembers
- The array which contains the memebers that should be added to the roleoracle.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.removeMembersFromApplicationRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void removeMembersFromApplicationRole(java.lang.String strAppId,
PortableApplicationRole appRole,
PortableRoleMember[] arrMembers)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application idappRole
- Application Role for which we want to remove membersarrMembers
- The array which contains the memebers that should be removed from the roleoracle.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.getGrantedApplicationRoles",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableApplicationRole[] getGrantedApplicationRoles(java.lang.String strAppId,
PortableRoleMember roleMember)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
strAppId
- Application IdroleMember
- Member for which we are tryin to get the Application Roleoracle.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.hasPermission",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
java.lang.Boolean[] hasPermission(java.lang.String appId,
javax.security.auth.Subject user,
PortablePermission[] arrPerms)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appId
- The Application Iduser
- The User for which we have to do the checkarrPerms
- Array of Permissions* @return Array of Booleansoracle.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.hasPermission",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
java.lang.Boolean[] hasPermission(java.lang.String appId,
PortablePermission[] arrPerms)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appId
- The Application IdarrPerms
- Array of Permissionsoracle.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(java.lang.String appId,
PortablePrincipal principal)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appId
- The Application Idprincipal
- principal exists in the ID storeoracle.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(java.lang.String appId,
PortableCodeSource codeSource)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appId
- The Application IdcodeSource
- CodeSourceoracle.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.createAdminRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createAdminRole(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName,
java.lang.String displayName,
java.lang.String description)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to be created.displayName
- The display name of the administration role to be created.description
- The description of the administration role to be created.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteAdminRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteAdminRole(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to be deleted.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listAdminRoles",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
oracle.security.jps.mas.mgmt.jmx.policy.PortableAdminRole[] listAdminRoles(java.lang.String appStripe,
java.lang.String policyDomainName)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listAdminRoleMembers",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
PortablePrincipal[] listAdminRoleMembers(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to be granted principals.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.grantAdminRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void grantAdminRole(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName,
PortablePrincipal principal)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to which a principal to be granted.principal
- principal on whom the admin role to granted and exists in ID store.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.revokeAdminRole",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void revokeAdminRole(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName,
PortablePrincipal principal)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to which a principal to be revoked.principal
- principal on whom the admin role to granted and exists in ID storeoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listAdminResources",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
PortableAdminResourceAction[] listAdminResources(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role to be granted admin resource action.oracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.grantAdminResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void grantAdminResource(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName,
java.lang.String adminResource,
java.lang.String action)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role granted administrative resource action.adminResource
- The name of admin resourceaction
- The name of actionoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.revokeAdminResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void revokeAdminResource(java.lang.String appStripe,
java.lang.String policyDomainName,
java.lang.String adminRoleName,
java.lang.String adminResource,
java.lang.String action)
throws javax.management.MBeanException
appStripeName
- The name of the application policy to be created.policyDomainName
- The policy domain name, which is the context for the admin role.adminRoleName
- The name of the administration role revoked administrative resource action.adminResource
- The name of admin resourceaction
- The name of actionoracle.as.jmx.framework.exceptions.ManagementException
- Exception that will encapulate the reason for the failurejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createApplicationPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createApplicationPolicy(java.lang.String appId)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appid
.
If neccessary, create an application policy and return to caller. Based on the algorithm in JpsAuth
this checks for PolicyStoreAccessPermission
("context=APPLICATION,name=Applicaiton's stripe Id" , "createApplicationPolicy"). This may result in an AccessControlException or SecurityException
appId
-oracle.as.jmx.framework.exceptions.ManagementException
java.io.IOException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteApplicationPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteApplicationPolicy(java.lang.String appId)
throws oracle.as.jmx.framework.exceptions.ManagementException,
java.io.IOException
appid
.
Based on the algorithm in JpsAuth
this checks for PolicyStoreAccessPermission
("context=APPLICATION,name=Applicaiton's stripe Id" , "deleteApplicationPolicy"). This may result in an AccessControlException or SecurityException
appId
-oracle.as.jmx.framework.exceptions.ManagementException
java.io.IOException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createPolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createPolicy(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String ruleExpression,
java.lang.String[] entitlements,
java.lang.String resActionList,
PortablePrincipal[] principals,
java.lang.String codeSource,
java.lang.String obligationList,
java.lang.String semantic)
throws javax.management.MBeanException
Rules for writing rule expressions:
':'
and a rule expression. Expressions are made of functions and attributes.'()'
.1-9
followed by digits between 0-9
. They can optionally be prefixed by a '-'
for negative integers.""
'd'
and 't'
(case-insensitive) respectively."string"
, "int"
, "boolean"
, "date"
, "time
.'&&'
and '||'
: used to combine two boolean expressions.'!'
: used on a boolean expression.'=='
: used to check equality between two strings, integers, dates and times.'>'
, '<'
, '>='
, '<='
: used to compare two integers, dates and times.'&&'
, '||'
and '!'
take only values and attributes as parameters. The others can additionally take boolean expressions as parameters.Rules for specifying principals:
':'
and a fully-qualified class-name.'admin:com.example.myPrincipal, manager:com.example.myPrincipal'
Rules for specifying resource actions:
':'
, followed by an existing resource name, followed by a comma-separated list of valid actions for the resource within parentheses '()'
.'resType1:res1(act1, act2),resType2:res2(act1),resType2:res3(act2)'
Rules for writing obligations:
'()'
.':'
. When assignment is an attribute, the name is optional.'ob1(attr1,str1:"a String"),ob2(a2:attr2)'
appStripe
- The application namename
- name of policy to be createddisplayName
- display name of the policydescription
- description of the policyruleExpression
- rule expression to be evaluated for policy decisionentitlements
- entitlements to be added to the policyresActionList
- Comma-separated list of resource action entriesprincipals
- principals on whom the policy workscodeSource
- code source for the policyobligationList
- Comma-separated list of obligations on the policysemantic
- "and"
/ "or"
semantic of policy.oracle.as.jmx.framework.exceptions.ManagementException
java.io.IOException
javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getPolicies",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortablePolicy[] getPolicies(java.lang.String appStripe,
java.lang.String entitlement)
throws javax.management.MBeanException
appStripe
- The application nameentitlement
- Name of the entitlementjavax.management.MBeanException
- Exception that will encapulate the reason for the failure
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.updatePolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updatePolicy(java.lang.String appStripe,
java.lang.String policy,
java.lang.String displayName,
java.lang.String description,
java.lang.String ruleExpression,
java.lang.String[] entitlements,
java.lang.String resActionsList,
PortablePrincipal[] principals,
java.lang.String codeSource,
java.lang.String obligationsList)
throws javax.management.MBeanException
appStripe
- The application namepolicy
- The policy to be updateddisplayName
- New display name for the policydescription
- New description for the policyruleExpression
- rule expression for the new rule for the policy. See createPolicy()
entitlements
- List of entitlements. To remove an entitlement, prefix name by '-'
.resActionsList
- Comma-separated list of resource actions. To specify resource actions, use rules from createPolicy()
. To remove a resource action, prefix with '-'
principals
- List of principals. To remove a principal make the class-name null. To be present only if codeSource
is null
.codeSource
- New code source. To be present only if principals
is null
.obligationsList
- Comma-separated list of obligations. To remove obligations, mention only name prefixed by '-'
. To add obligations, use rules from createPolicy()
javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deletePolicy",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deletePolicy(java.lang.String appStripe,
java.lang.String name)
throws javax.management.MBeanException
appStripe
- The application stripe from which this policy has to be deletedname
- Name of the policy to be deleted.javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listPolicies",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortablePolicy[] listPolicies(java.lang.String appStripe)
throws javax.management.MBeanException
appStripe
- The application Stripe from which policies have to be listedjavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createAttribute",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createAttribute(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayname,
java.lang.String description,
java.lang.String type,
java.lang.String category,
boolean isSingle,
java.lang.String[] values)
throws javax.management.MBeanException
appStripe
- The application namename
- name of attribute to be createddisplayname
- display name of the attributedescription
- description of the attributetype
- type of attribute. on of "string", "boolean", "integer", "date", "time" or classname for custom typescategory
- category of attribute. One of "resource" or "dynamic"isSingle
- Whether the attribute is single valued or multi-valuedvalues
- Values to initialize the attribute with. This argument is currently not in use.javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.updateAttribute",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updateAttribute(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayname,
java.lang.String description,
java.lang.String[] values)
throws javax.management.MBeanException
appStripe
- The application namename
- name of attribute to be createddisplayname
- display name of the attributedescription
- description of the attributevalues
- values to be added to the attribute. This argument is currently not in use.javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteAttribute",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteAttribute(java.lang.String appStripe,
java.lang.String name)
throws javax.management.MBeanException
appStripe
- The application namename
- name of attribute to be createdjavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listAttributes",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableAttribute[] listAttributes(java.lang.String appStripe,
boolean hideBuiltIn)
throws javax.management.MBeanException
appStripe
- The application namehideBuiltIn
- Hide built in attributes from output, if this is "true"
. Default is "true"
javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createResourceType",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createResourceType(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String provider,
java.lang.String matcher,
java.lang.String[] allowedActions,
java.lang.String delimiter)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resourcetype has to be createdname
- The name of the resourcetypedisplayName
- The display name of this resource typedescription
- Description for this resourcetypeprovider
- Provider for this reesourcetype. Can be null
matcher
- Matcher class for this resourcetypeallowedActions
- Comma Separated list of actions for this resourcetype. Can be null
delimiter
- delimter for the actions of this resourcetype. If null
, defaults to ","{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getResourceType",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableResourceType getResourceType(java.lang.String appStripe,
java.lang.String resourceTypeName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resourcetype has to be createdname
- The name of the resourcetype{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getFunction",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableFunction getFunction(java.lang.String appId,
java.lang.String name)
throws javax.management.MBeanException
appId
- Application Id of application whose functions are to be listedname
- Name of the function to be obtainedjavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.updateResourceType",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updateResourceType(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String[] allowedActions,
java.lang.String delimiter,
java.lang.String[] attributes,
java.lang.String provider,
java.lang.String matcher,
java.lang.Boolean hierarchicalResource,
java.lang.Character resourceNameDelimiter)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resource type has to be updatedname
- The name of the resource typedisplayName
- The display name of this resource typedescription
- Description of the resource typeallowedActions
- list of actions for this resource type.delimiter
- delimiter for the actions of this resource type.If null
, defaults to ","attributes
- attributes to be added to this resource typeprovider
- resource provider class namematcher
- resource matcher class namehierarchicalResource
- flag indicating whether the resource type has to be updated to support hierarchical resourceresourceNameDelimiter
- delimiter to be used in name of hierarchical resource. Should be non-null only if hierarchicalResource is true.javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteResourceType",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteResourceType(java.lang.String appStripe,
java.lang.String resourceTypeName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resourcetype has to be createdname
- The name of the resourcetype{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createResource(java.lang.String appStripe,
java.lang.String name,
java.lang.String type,
java.lang.String displayName,
java.lang.String description)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resource has to be createdname
- The name of the resourcedisplayName
- The display name of this resourcedescription
- Description for this resourcetype
- Type of the resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.updateResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void updateResource(java.lang.String appStripe,
java.lang.String name,
java.lang.String type,
java.lang.String displayName,
java.lang.String description,
PortableAttribute[] attributes)
throws javax.management.MBeanException
appStripe
- The application stripe in which the resource has to be modifiedname
- Name of the resource to be updated.type
- Type of resource to be updateddisplayName
- New display namedescription
- New descriptionattributes
- Array of PortableAttribute(s) corresponding to attribute(s) to be added or deleted. To delete an attribute, prefix the attribute name in corresponding PortableAttribute with '-'
. The only parameters required in constructor of PortableAttribute for addition of attribute into resource using this method are "name" and "values", whereas the only parameter required in constructor of PortableAttribute for removal of attribute from resource using this method is "name".{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableResource getResource(java.lang.String appStripe,
java.lang.String resourceName,
java.lang.String resourceTypeName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resource has to be createdname
- The name of the resourceresourceTypeName
- The type of the resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteResource",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteResource(java.lang.String appStripe,
java.lang.String resourceName,
java.lang.String resourceTypeName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resource has to be createdname
- The name of the resourceresourceTypeName
- The type of the resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listResources",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableResource[] listResources(java.lang.String appStripe,
java.lang.String resourceTypeName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resources need to be fetchedrersourceTypeName
- The type of the resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listResourceActions",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableResourceActions[] listResourceActions(java.lang.String appStripe,
java.lang.String permSetName)
throws javax.management.MBeanException
appStripe
- The application stripe in which resource actions need to be fetchedpermSetName
- Name of the permission set for which the resource actions need to be fetched{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.createEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void createEntitlement(java.lang.String appStripe,
java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String actions)
throws javax.management.MBeanException
appStripe
- The application stripe in which this permission set has to be createdname
- The name of the permission set, can not be longer than 1500 charactorsdisplayName
- The display name of this permission setdescription
- Description for this permission setresourceName
- Name of the member resource in the permission setactions
- Actions allowed on the member resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.getEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortablePermissionSet getEntitlement(java.lang.String appStripe,
java.lang.String permSetName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this permission set has to be createdname
- The name of the permission set{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.deleteEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void deleteEntitlement(java.lang.String appStripe,
java.lang.String permSetName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this permission set has to be deletedname
- The name of the permission set{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.addResourceToEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void addResourceToEntitlement(java.lang.String appStripe,
java.lang.String name,
java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String actions)
throws javax.management.MBeanException
appStripe
- The application stripe in which the member resource to the permission set has to be createdname
- The name of the permission setresourceName
- Name of the member resource in the permission setresourceType
- Type of the member resourceactions
- Actions allowed on the member resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.revokeResourceFromEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=1)
void revokeResourceFromEntitlement(java.lang.String appStripe,
java.lang.String name,
java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String actions)
throws javax.management.MBeanException
appStripe
- The application stripe in which the member resource to the permission set has to be revokedname
- The name of the permission setresourceName
- Name of the member resource in the permission setresourceType
- Type of the member resourceactions
- Actions allowed on the member resource{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listEntitlements",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortablePermissionSet[] listEntitlements(java.lang.String appStripe,
java.lang.String resourceTypeName,
java.lang.String resourceName)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resources need to be fetchedrersourceTypeName
- The type of the resourceresourceName
- Name of the resourceprincipalName
- Name of the principalprincipalClass
- Class of the principal{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.grantEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
void grantEntitlement(java.lang.String appStripe,
java.lang.String entitlementName,
PortablePrincipal principal)
throws javax.management.MBeanException
appStripe
- The application stripe in which the permission set needs to be grantedpermSetName
- The name of the permission setprincipal
- The principal exists in ID store Class of the principal{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.revokeEntitlement",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
void revokeEntitlement(java.lang.String appStripe,
java.lang.String entitlementName,
PortablePrincipal principal)
throws javax.management.MBeanException
appStripe
- The application stripe in which this permission set needs to be revokedpermSetName
- The name of the permission setprincipal
- The principal exists in ID store Class of the principal{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listResourceTypes",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableResourceType[] listResourceTypes(java.lang.String appStripe)
throws javax.management.MBeanException
appStripe
- The application stripe in which this resources need to be fetched{@link
- MBeanException}javax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listFunctions",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
PortableFunction[] listFunctions(java.lang.String appId,
boolean hideBuiltIn)
throws javax.management.MBeanException
appId
- Application Id of application whose functions are to be listedhideBuiltIn
- Hide built in functions from output if this is true. Its default value is truejavax.management.MBeanException
@Description(resourceKey="oracle.security.jps.management.JpsPolicyStoreMXBean.listAppStripes",
resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
java.lang.String[] listAppStripes(java.lang.String regex)
throws javax.management.MBeanException
regex
- The app stripes matching this regular expression will be fetched{@link
- MBeanException}javax.management.MBeanException
|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14651-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |