Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


oracle.adf.share.security.providers.jps
Class JpsPolicyProvider

java.lang.Object
  extended by oracle.adf.share.security.providers.jps.JpsPolicyProvider

All Implemented Interfaces:
PolicyInspection

public class JpsPolicyProvider
extends java.lang.Object
implements PolicyInspection

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

JpsPolicyProvider

public JpsPolicyProvider(oracle.security.jps.service.policystore.ApplicationPolicy appPolicy)

Method Detail

refresh

public void refresh(boolean bSave)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Refresh policy provider.
Specified by:
refresh in interface PolicyInspection
Parameters:
bSave - save changes

addPolicyStatement

public void addPolicyStatement(PolicyStatement policyStatement)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Adds a Policy statement to the security Policy.
Specified by:
addPolicyStatement in interface PolicyInspection
Parameters:
policyStatement - the PolicyStatement to be added to the Policy.

removePolicyStatement

public void removePolicyStatement(PolicyStatement policyStatement)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Removes a Policy statement from the security Policy.
Specified by:
removePolicyStatement in interface PolicyInspection
Parameters:
policyStatement - the PolicyStatement to be added to the Policy.

revokePermission

public void revokePermission(java.security.Principal principal,
                             java.security.Permission permission)

getPolicyStatements

public PolicyStatement[] getPolicyStatements(java.security.Principal principal,
                                             java.lang.Class[] permissionClasses)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Retrieves the list of explicit policy entries for the specified Principal.
Specified by:
getPolicyStatements in interface PolicyInspection
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.

getPermissionClassDescriptors

public oracle.adf.share.security.authorization.PermissionClassDescriptor[] getPermissionClassDescriptors()
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Returns all the managed permission class descriptors.
Specified by:
getPermissionClassDescriptors in interface PolicyInspection
Returns:
PermissionClassDescriptor[] an array containing all the managed permission class descriptors.

addPermissionClassDescriptor

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

removePermissionClassDescriptor

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

getPermissionClassDescriptor

public oracle.adf.share.security.authorization.PermissionClassDescriptor getPermissionClassDescriptor(java.lang.Class permClass)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Returns specified permission class descriptor.
Specified by:
getPermissionClassDescriptor in interface PolicyInspection
Parameters:
permClass - the permission class.
Returns:
PermissionClassDescriptor the PermissionClassDescriptor assocaiated with this permission class.

getPolicyStatements

public PolicyStatement[] getPolicyStatements(java.lang.String resourceId,
                                             java.lang.Class permissionClass)
Description copied from interface: PolicyInspection
Internal: Applications should not use this method. Retrieves the list of explicit policy entries for the specified resource id.
Specified by:
getPolicyStatements in interface PolicyInspection
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.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


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