|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.service.policystore.PolicyStoreUtil
Deprecated. This class is deprecated. Please use oracle.security.jps.service.policystore.PolicyStore API instead.
@Deprecated
public final class PolicyStoreUtil
Constructor Summary | |
---|---|
PolicyStoreUtil() Deprecated. |
Method Summary | |
---|---|
static void |
addAppRolesToSubject(javax.security.auth.Subject subject) Deprecated. |
static void |
addPrincipalToAppRole(java.lang.String appID, java.security.Principal principal, java.lang.String appRoleName) Deprecated. |
static boolean |
checkPermission(java.lang.String appID, javax.security.auth.Subject subject, java.security.Permission perm) Deprecated. |
static boolean |
containsAppRole(java.lang.String appID, java.lang.String name) Deprecated. |
static boolean |
containsPrincipalAsMember(java.lang.String appID, java.lang.String appRoleName, java.security.Principal principal) Deprecated. |
static void |
createAppRole(java.lang.String appID, java.lang.String name, java.lang.String displayName, java.lang.String desc, java.lang.String guid) Deprecated. |
static java.util.List<JpsApplicationRole> |
getAllAppRoles(java.lang.String appID) Deprecated. |
static java.util.List<java.security.Principal> |
getAppRolesMembers(java.lang.String appID, java.lang.String name) Deprecated. |
static java.util.List<JpsApplicationRole> |
getGrantedAppRoles(java.security.Principal principal) Deprecated. |
static java.security.PermissionCollection |
getPermissions(java.lang.String appID, javax.security.auth.Subject subject) Deprecated. |
static void |
grant(java.security.Principal[] principals, java.security.CodeSource cs, java.security.Permission[] perms) Deprecated. |
static void |
grant(java.lang.String appID, java.security.Principal[] principals, java.security.CodeSource cs, java.security.Permission[] perms) Deprecated. |
static boolean |
hasPermission(javax.security.auth.Subject subject, java.security.Permission perm) Deprecated. |
static void |
refresh() Deprecated. |
static void |
removeAppRole(java.lang.String appID, java.lang.String name) Deprecated. |
static void |
removePrincipalFromAppRole(java.lang.String appID, java.security.Principal principal, java.lang.String appRoleName) Deprecated. |
static void |
revoke(java.security.Principal[] principals, java.security.CodeSource cs, java.security.Permission[] perms) Deprecated. |
static void |
revoke(java.lang.String appID, java.security.Principal[] principals, java.security.CodeSource cs, java.security.Permission[] perms) Deprecated. |
static java.util.List<AppRoleEntry> |
searchAppRoles(java.lang.String appID, java.lang.String rolenameExp) Deprecated. |
java.lang.String |
toString() Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolicyStoreUtil()
Method Detail |
---|
@Deprecated
public static void refresh()
@Deprecated
public static boolean hasPermission(javax.security.auth.Subject subject,
java.security.Permission perm)
throws PolicyStoreException
subject
- - the subjectperm
- - the permission to be checked for this subjectPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static java.security.PermissionCollection getPermissions(java.lang.String appID,
javax.security.auth.Subject subject)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - the application namesubject
- - subject whose permissions are soughtPolicyObjectNotFoundException
- - if this app policy does not existPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static boolean checkPermission(java.lang.String appID,
javax.security.auth.Subject subject,
java.security.Permission perm)
throws PolicyStoreException
appID
- - Application name / scope of checkPermissionsubject
- - subject whose permissions need to be checkedperm
- - permission to be checkedPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void grant(java.security.Principal[] principals,
java.security.CodeSource cs,
java.security.Permission[] perms)
throws PolicyObjectAlreadyExistsException,
PolicyStoreException
principals
- - the set of principals to be granted the these permissionscs
- - the code sourceperms
- - set of permissions to be granted for this group of principalsPolicyObjectAlreadyExistsException
- - if the grantee is already granted the requested permissions.PolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void revoke(java.security.Principal[] principals,
java.security.CodeSource cs,
java.security.Permission[] perms)
throws PolicyObjectNotFoundException,
PolicyStoreException
principals
- - the set of principals to revoke the permission(s) fromcs
- - the code sourceperms
- - the set of permissionsPolicyObjectNotFoundException
- - If the grantee to be revoked is not foundPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void grant(java.lang.String appID,
java.security.Principal[] principals,
java.security.CodeSource cs,
java.security.Permission[] perms)
throws PolicyObjectAlreadyExistsException,
PolicyStoreException
appID
- - the application idprincipals
- - the set of principals to grant the permission(s) forcs
- - the code sourceperms
- - the set of permissionsPolicyObjectAlreadyExistsException
- - if the grantee is already granted the requested permissions.PolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void revoke(java.lang.String appID,
java.security.Principal[] principals,
java.security.CodeSource cs,
java.security.Permission[] perms)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - the application idprincipals
- - the set of principals to revoke the permission(s) fromcs
- - the code sourceperms
- - the set of permissionsPolicyObjectNotFoundException
- - If the grantee to be revoked is not foundPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static boolean containsAppRole(java.lang.String appID,
java.lang.String name)
throws PolicyStoreException
appID
- - the application idname
- - the app role namePolicyStoreException
- if appID not found or there is an error during this policy operation
@Deprecated
public static void createAppRole(java.lang.String appID,
java.lang.String name,
java.lang.String displayName,
java.lang.String desc,
java.lang.String guid)
throws PolicyObjectAlreadyExistsException,
PolicyStoreException
appID
- - the application idname
- - name of the app roledisplayName
- - diplay name of the app roledesc
- - description of the app roleguid
- - guid of the app rolePolicyObjectAlreadyExistsException
- - if this app role already existsPolicyStoreException
- - if appID is not found or default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static java.util.List<AppRoleEntry> searchAppRoles(java.lang.String appID,
java.lang.String rolenameExp)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - This is the AppId under which the search operation is performedrolenameExp
- - This could be a regular expression with role names containing wild card like "*" onlyPolicyObjectNotFoundException
- - if this appRoleName does not exist in policy storePolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void removeAppRole(java.lang.String appID,
java.lang.String name)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - application idname
- - name of the app role to removePolicyObjectNotFoundException
- - if this app role does not existPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static boolean containsPrincipalAsMember(java.lang.String appID,
java.lang.String appRoleName,
java.security.Principal principal)
throws PolicyStoreException
appID
- - the application idappRoleName
- - the app role nameprincipal
- - the principalPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void addPrincipalToAppRole(java.lang.String appID,
java.security.Principal principal,
java.lang.String appRoleName)
throws PolicyObjectAlreadyExistsException,
PolicyStoreException
appID
- - the application idprincipal
- - the principal to addappRoleName
- - the app rolePolicyObjectAlreadyExistsException
- - if this principal is already a member of this app rolePolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void removePrincipalFromAppRole(java.lang.String appID,
java.security.Principal principal,
java.lang.String appRoleName)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - the application idprincipal
- - the principal to be removedappRoleName
- - the app role namePolicyObjectNotFoundException
- - if this principal does not exist in this appRoleNamePolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static void addAppRolesToSubject(javax.security.auth.Subject subject)
throws PolicyStoreException
subject
- - the subject to add the app roles toPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static java.util.List<java.security.Principal> getAppRolesMembers(java.lang.String appID,
java.lang.String name)
throws PolicyObjectNotFoundException,
PolicyStoreException
appID
- - the application idname
- - the app role namePolicyObjectNotFoundException
- - if this appRoleName does not exist in policy storePolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static java.util.List<JpsApplicationRole> getAllAppRoles(java.lang.String appID)
throws PolicyStoreException
appID
-PolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public static java.util.List<JpsApplicationRole> getGrantedAppRoles(java.security.Principal principal)
throws PolicyStoreException
principal
- - the principal to find the granted roles forPolicyStoreException
- - if default Policy store not obtained or there is an error during this policy operation
@Deprecated
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |