|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyInspection
Internal: Applications should not use this class. Service Provider Interface for Security Policy Inspection. Service providers must implement this interface and register with the policy inspector.
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 save)
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. |
Method Detail |
---|
void addPolicyStatement(PolicyStatement policyStatement)
policyStatement
- the PolicyStatement
to be added to the Policy.void removePolicyStatement(PolicyStatement policyStatement)
policyStatement
- the PolicyStatement
to be added to the Policy.PolicyStatement[] getPolicyStatements(java.security.Principal principal, java.lang.Class[] permissionClasses)
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.PolicyStatement[] getPolicyStatements(java.lang.String resourceId, java.lang.Class permissionClass)
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.adf.share.security.authorization.PermissionClassDescriptor[] getPermissionClassDescriptors()
boolean addPermissionClassDescriptor(oracle.adf.share.security.authorization.PermissionClassDescriptor permClassDescriptor)
permClassDescriptor
- the permission class descriptor for the permission.
boolean removePermissionClassDescriptor(java.lang.Class permClass)
permClass
- the class of the permission.
return boolean true if this list contained the specified element.oracle.adf.share.security.authorization.PermissionClassDescriptor getPermissionClassDescriptor(java.lang.Class permClass)
permClass
- the permission class.
PermissionClassDescriptor
assocaiated with this permission class.void refresh(boolean save)
save
- save changes
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |