Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


oracle.adf.share.security.authorization.spi
Interface PolicyInspection

All Known Implementing Classes:
JpsPolicyProvider

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

addPolicyStatement

void addPolicyStatement(PolicyStatement policyStatement)
Internal: Applications should not use this method. Adds a Policy statement to the security Policy.
Parameters:
policyStatement - the PolicyStatement to be added to the Policy.

removePolicyStatement

void removePolicyStatement(PolicyStatement policyStatement)
Internal: Applications should not use this method. Removes a Policy statement from the security Policy.
Parameters:
policyStatement - the PolicyStatement to be added to the Policy.

getPolicyStatements

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.
Parameters:
principal - the Principal for whom the Policy entries are to be retrieved.
permissionClasses - the Permission classes to restrict the return resultset with.
Returns:
PolicyStatement[] the PolicyStatements given to the specified Principal.

getPolicyStatements

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.
Parameters:
resourceId - the target resource for which the policy statements are to be retrieved.
permissionClass - the permission class of the policy statement.
Returns:
PolicyStatement[] the PolicyStatements given to the specified Principal.

getPermissionClassDescriptors

oracle.adf.share.security.authorization.PermissionClassDescriptor[] getPermissionClassDescriptors()
Internal: Applications should not use this method. Returns all the managed permission class descriptors.
Returns:
PermissionClassDescriptor[] an array containing all the managed permission class descriptors.

addPermissionClassDescriptor

boolean addPermissionClassDescriptor(oracle.adf.share.security.authorization.PermissionClassDescriptor permClassDescriptor)
Internal: Applications should not use this method. Adds a definition for a new Permission class.
Parameters:
permClassDescriptor - the permission class descriptor for the permission.
Returns:
boolean true if this collection changed as a result of the call.

removePermissionClassDescriptor

boolean removePermissionClassDescriptor(java.lang.Class permClass)
Internal: Applications should not use this method. Unregisters an existing Permission class from the system.
Parameters:
permClass - the class of the permission. return boolean true if this list contained the specified element.

getPermissionClassDescriptor

oracle.adf.share.security.authorization.PermissionClassDescriptor getPermissionClassDescriptor(java.lang.Class permClass)
Internal: Applications should not use this method. Returns specified permission class descriptor.
Parameters:
permClass - the permission class.
Returns:
PermissionClassDescriptor the PermissionClassDescriptor assocaiated with this permission class.

refresh

void refresh(boolean save)
Internal: Applications should not use this method. Refresh policy provider.
Parameters:
save - save changes

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


Copyright © 1997, 2009, Oracle. All rights reserved.