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 |
---|---|
void |
GrantManager.bulkGrant(java.util.Set<PrincipalEntry> principalEntries, java.lang.String permissionSetName)
Grants the specified named permission set to every one of the principalEntries supplied in the input set.
|
void |
GrantManager.bulkRevoke(java.util.Set<PrincipalEntry> principalEntries, java.lang.String permissionSetName)
Revokes the specified named permission set from every one of the principalEntries supplied in the input set.
|
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 |
RASConfigurationBindingManager.bindTargetDatabase(java.lang.String targetDatabaseName, java.lang.String appName)
Create bindings between an application and a target database.
|
RASPolicyEntry |
RASPolicyManager.createRASPolicy(java.lang.String name, java.lang.String displayName, java.lang.String description, java.util.List<RASResourceEntry> target, java.util.List<java.lang.String> referredRules, java.util.Set<RASPolicyEntry.RASParameterValue> parameterValues, RASPolicyEntry.ACLMatchType matchType, boolean isStatic)
Create a RAS Policy
|
RASPolicySetEntry |
RASPolicySetManager.createRASPolicySet(java.lang.String name, java.lang.String displayName, java.lang.String description, java.util.List<RASPolicyEntry> policies)
Creates RAS policy set
|
void |
RASAttributeCollectionManager.deleteRASAttributeCollection(java.lang.String name)
Deletes the RAS attribute collection with the given name.
|
void |
RASPolicyManager.deleteRASPolicy(java.lang.String name, boolean cascading)
Deletes a RAS policy with the given name
|
void |
RASPolicyRuleManager.deleteRASPolicyRule(java.lang.String name, boolean cascading)
Deletes the policy rule.
|
void |
RASPolicySetManager.deleteRASPolicySet(java.lang.String name)
Delete RAS policy set.
|
void |
RASResourceManager.deleteRASResource(java.lang.String rasResourceTypeName, java.lang.String name, boolean cascade)
Deletes the resource.
|
java.util.List<RASTargetDatabaseEntry> |
RASConfigurationBindingManager.getBoundTargetDatabases(java.lang.String appName)
Retrieve target database Entries bound to a given application.
|
RASAttributeCollectionEntry |
RASAttributeCollectionManager.getRASAttributeCollection(java.lang.String name)
Get the RAS attribute collection entry with the given name.
|
RASPolicyEntry |
RASPolicyManager.getRASPolicy(java.lang.String name)
Gets RAS policy by its name
|
RASPolicyRuleEntry |
RASPolicyRuleManager.getRASPolicyRule(java.lang.String name)
Returns the RAS policy rule by its name.
|
RASPolicySetEntry |
RASPolicySetManager.getRASPolicySet(java.lang.String name)
Gets RAS policy set by its name
|
RASResourceEntry |
RASResourceManager.getRASResource(java.lang.String resourceTypeName, java.lang.String name)
Get the ras resource given the name and the type of the resource.
|
RASResourceTypeEntry |
RASResourceTypeManager.getRASResourceType(java.lang.String name)
Fetch a RAS ResourceType via it's name
|
void |
RASAttributeCollectionManager.modifyRASAttributeCollection(RASAttributeCollectionEntry item)
Modifies the RAS attribute collection from the given RAS attributeCollection entry.
|
void |
RASPolicyManager.modifyRASPolicy(RASPolicyEntry rasPolicyEntry)
Persists a revised in-memory RASPolicyEntry object.
|
void |
RASPolicySetManager.modifyRASPolicySet(RASPolicySetEntry rasPolicySetEntry)
Persists a revised in-memory RASPolicySetEntry object.
|
void |
RASConfigurationBindingManager.unbindTargetDatabase(java.lang.String targetDatabaseName, java.lang.String appName)
Remove binding relationship between an application and a target database.
|
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.
|