|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.7.0) E10686-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.share.security.providers.jps.JpsPolicyProvider
public class JpsPolicyProvider
Constructor Summary | |
---|---|
JpsPolicyProvider(oracle.security.jps.service.policystore.ApplicationPolicy appPolicy)
|
Method Summary | |
---|---|
boolean |
addPermissionClassDescriptor(oracle.adf.share.security.authorization.PermissionClassDescriptor permClassDescriptor)
Internal: Applications should not use this method. Adds a definition for a new Permission class. |
void |
addPolicyStatement(PolicyStatement policyStatement)
Internal: Applications should not use this method. Adds a Policy statement to the security Policy. |
oracle.adf.share.security.authorization.PermissionClassDescriptor |
getPermissionClassDescriptor(java.lang.Class permClass)
Internal: Applications should not use this method. Returns specified permission class descriptor. |
oracle.adf.share.security.authorization.PermissionClassDescriptor[] |
getPermissionClassDescriptors()
Internal: Applications should not use this method. Returns all the managed permission class descriptors. |
PolicyStatement[] |
getPolicyStatements(java.security.Principal principal,
java.lang.Class[] permissionClasses)
Internal: Applications should not use this method. Retrieves the list of explicit policy entries for the specified Principal. |
PolicyStatement[] |
getPolicyStatements(java.lang.String resourceId,
java.lang.Class permissionClass)
Internal: Applications should not use this method. Retrieves the list of explicit policy entries for the specified resource id. |
void |
refresh(boolean bSave)
Internal: Applications should not use this method. Refresh policy provider. |
boolean |
removePermissionClassDescriptor(java.lang.Class permClass)
Internal: Applications should not use this method. Unregisters an existing Permission class from the system. |
void |
removePolicyStatement(PolicyStatement policyStatement)
Internal: Applications should not use this method. Removes a Policy statement from the security Policy. |
void |
revokePermission(java.security.Principal principal,
java.security.Permission permission)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JpsPolicyProvider(oracle.security.jps.service.policystore.ApplicationPolicy appPolicy)
Method Detail |
---|
public void refresh(boolean bSave)
PolicyInspection
refresh
in interface PolicyInspection
bSave
- save changespublic void addPolicyStatement(PolicyStatement policyStatement)
PolicyInspection
addPolicyStatement
in interface PolicyInspection
policyStatement
- the PolicyStatement
to be added to the Policy.public void removePolicyStatement(PolicyStatement policyStatement)
PolicyInspection
removePolicyStatement
in interface PolicyInspection
policyStatement
- the PolicyStatement
to be added to the Policy.public void revokePermission(java.security.Principal principal, java.security.Permission permission)
public PolicyStatement[] getPolicyStatements(java.security.Principal principal, java.lang.Class[] permissionClasses)
PolicyInspection
getPolicyStatements
in interface PolicyInspection
principal
- the Principal for whom the Policy entries are to be retrieved.permissionClasses
- the Permission classes to restrict the return resultset with.
PolicyStatement
s given to the specified Principal.public oracle.adf.share.security.authorization.PermissionClassDescriptor[] getPermissionClassDescriptors()
PolicyInspection
getPermissionClassDescriptors
in interface PolicyInspection
public boolean addPermissionClassDescriptor(oracle.adf.share.security.authorization.PermissionClassDescriptor permClassDescriptor)
PolicyInspection
addPermissionClassDescriptor
in interface PolicyInspection
permClassDescriptor
- the permission class descriptor for the permission.
public boolean removePermissionClassDescriptor(java.lang.Class permClass)
PolicyInspection
removePermissionClassDescriptor
in interface PolicyInspection
permClass
- the class of the permission.
return boolean true if this list contained the specified element.public oracle.adf.share.security.authorization.PermissionClassDescriptor getPermissionClassDescriptor(java.lang.Class permClass)
PolicyInspection
getPermissionClassDescriptor
in interface PolicyInspection
permClass
- the permission class.
PermissionClassDescriptor
assocaiated with this permission class.public PolicyStatement[] getPolicyStatements(java.lang.String resourceId, java.lang.Class permissionClass)
PolicyInspection
getPolicyStatements
in interface PolicyInspection
resourceId
- the target resource for which the policy statements are to be retrieved.permissionClass
- the permission class of the policy statement.
PolicyStatement
s given to the specified Principal.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.7.0) E10686-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |