Package | Description |
---|---|
oracle.security.jps.service.policystore | |
oracle.security.jps.service.policystore.entitymanager | |
oracle.security.jps.tools.utility |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationPolicy.addPrincipalToAppRole(PrincipalEntry principalEntry, java.lang.String appRoleName)
Adds this principal as member to this app role
|
void |
ApplicationPolicy.addPrincipalToAppRole(java.security.Principal principal, java.lang.String appRoleName)
Adds this principal as member to this app role
|
void |
ApplicationPolicy.alterAppRole(java.lang.String appRoleName, java.lang.String newDescription, java.lang.String newDisplayName)
Alters an application Role's display Name and description These paramters are not used to compare two application roles for similarity An application Role's name or GUID are unique/ immutable properties NOTE: Supplying "null" to Description or Display Name will replace previous Description/ Display Name with "null"
|
void |
ApplicationPolicy.alterAppRoleCategory(java.lang.String appRoleName, java.lang.String newCategory)
Alters an application Role's category An application Role's name or GUID are unique/ immutable properties NOTE: Supplying "null" to category will replace previous category with "null"
|
boolean |
ApplicationPolicy.containsPrincipalAsMember(java.lang.String appRoleName, java.security.Principal principal)
Checks if this principal is a member of this app role
|
void |
PolicyStore.deleteApplicationPolicy(java.lang.String appId)
Delete an application policy given the application name -
appid . |
ApplicationPolicy |
PolicyStore.getApplicationPolicy(java.lang.String appId)
Returns a application policy for the given application by this PolicyStore
|
java.util.List<java.security.Principal> |
ApplicationPolicy.getAppRolesMembers(java.lang.String appRoleName)
Returns the list of principals granted to this application role.
|
void |
PolicyStore.modifyApplicationPolicy(ApplicationPolicy app)
Modify an application policy in the persistence store.
|
void |
PolicyMgmt.modifyGrant(java.util.List<PrincipalEntry> principalEntries, CodeSourceEntry csEntry, PermissionEntry oldpermissionEntry, PermissionEntry newPermissionEntry)
Modifies a grant by replacing the permission in an existing grant with a given permission if not already present.
|
void |
ApplicationPolicy.removeAppRole(java.lang.String appRoleName)
Removes the application role from policy store.
|
void |
ApplicationPolicy.removeAppRole(java.lang.String appRoleName, boolean force)
Removes the application role from policy store.
|
void |
ApplicationPolicy.removePrincipalFromAppRole(PrincipalEntry principalEntry, java.lang.String appRoleName)
Removes this principal from this appRoleName
|
void |
ApplicationPolicy.removePrincipalFromAppRole(java.security.Principal principal, java.lang.String appRoleName)
Removes this principal from this appRoleName
|
void |
PolicyMgmt.revoke(java.util.List<PrincipalEntry> principalEntries, CodeSourceEntry csEntry, java.util.List<PermissionEntry> permissionEntries)
Revoke a grant of permissions from this set of principals and codesource combination
|
void |
PolicyMgmt.revoke(java.security.Principal[] principals, java.security.CodeSource cs, java.security.Permission[] perms)
Revoke a grant of permissions from this set of principals and codesource combination.
|
Modifier and Type | Method and Description |
---|---|
EntryReference |
ResourceTypeManager.createResourceType(ResourceTypeEntry entry)
Validates and creates the given resource type in the backend data store.
|
void |
ResourceManager.deleteResource(EntryReference res, boolean cascadeDelete)
Deletes a Resource
|
void |
ResourceTypeManager.deleteResourceType(EntryReference rtRef, boolean cascadeDelete)
Deletes the resource type.
|
void |
RoleCategoryManager.deleteRoleCategory(EntryReference rcRef)
Deletes the role category.
|
PermissionSetEntry |
PermissionSetManager.getPermissionSet(java.lang.String permissionSetName)
Get a PermissionSet by Name.
|
ResourceEntry |
ResourceFinder.getResource(java.lang.String resourceTypeName, java.lang.String name)
Get the resource given the name and the type of the resource.
|
ResourceTypeEntry |
ResourceTypeManager.getResourceType(java.lang.String name)
Get the resource type entry given name of the resource type.
|
RoleCategoryEntry |
RoleCategoryManager.getRoleCategory(java.lang.String name)
Get the role category entry given name of the role category.
|
<T> T |
EntityManager.resolveReference(EntryReference reference, java.lang.Class<T> klass)
Given a reference to an entity, return a copy from the persistent store.
|
void |
GrantManager.revoke(java.util.Set<PrincipalEntry> principalEntries, CodeSourceEntry csEntry, java.lang.String permissionSetName)
Revoke a grant of a PermissionSet from this set of principals and codesource combination
|
Modifier and Type | Method and Description |
---|---|
void |
JpsUtilBackupRestorePolicyIfc.backupApplicationPolicyData(java.lang.String srcJpsCtxName, java.lang.String backupFileName, java.lang.String appName)
This method backs-up all application specific policy, defined in a policy store to a given file.
|
void |
JpsUtilBackupRestorePolicyIfc.restoreApplicationPolicyData(java.lang.String restoreFileName, java.lang.String dstJpsCtxName, java.lang.String appName)
This method stores all the policies defined for a given application, stored in a backup repository, defined by the file name, to a policy store.
|