Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.entitymanager
Interface ConfigurationBindingManager

All Superinterfaces:
EntityManager

public interface ConfigurationBindingManager
extends EntityManager

The class represents the binding between an ApplicationPolicy object and OES SecurityModule (PDP) and between an ApplicationPolicy object and an OES PIP configuration. For post March release this would extented to also represent binding a the PIP Physical attribute to Logical Attribute.


Method Summary
 void bindSecurityModule(java.lang.String smName, java.lang.String appName)
          Create bindings between an application and a SM.
 java.util.List<ApplicationPolicy> getBoundApplications(java.lang.String smName)
          Retrieve application names bound to a SM.
 java.util.List<SMEntry> getBoundSecurityModules(java.lang.String appName)
          Retrieve SM Entries bound to a given application.
 void unbindSM(java.lang.String smName, java.lang.String appName)
          Remove binding relationship between an application and a SM.

 

Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.EntityManager
resolveReference

 

Method Detail

bindSecurityModule

void bindSecurityModule(java.lang.String smName,
                        java.lang.String appName)
                        throws ConfigurationNotFoundException,
                               InvalidArgumentException,
                               PolicyObjectNotFoundException,
                               ConfigurationAlreadyBoundException,
                               PolicyStoreException
Create bindings between an application and a SM.
Parameters:
smName - - SM name to bind to an application
appName - - application policy name to bind
Throws:
InvalidArgumentException - - if appName and/or smName is null or empty
PolicyObjectNotFoundException - - if application does not exist
ConfigurationNotFoundException - - if SM do not exist
ConfiguratationAlreadyBoundException - if the specified application already binds to the specified SM
PolicyStoreException - - check message for specific policy store issue
ConfigurationAlreadyBoundException

unbindSM

void unbindSM(java.lang.String smName,
              java.lang.String appName)
              throws ConfigurationNotFoundException,
                     InvalidArgumentException,
                     PolicyObjectNotFoundException,
                     PolicyStoreException
Remove binding relationship between an application and a SM. Just returns if no binding exists.
Parameters:
smName - - SM name to unbind from an application.
appName - - application policy name to unbind from
Throws:
InvalidArgumentException - - if appName and/or smName is null or empty
PolicyObjectNotFoundException - - if application does not exist
ConfigurationNotFoundException - - if SM do not exist
PolicyStoreException - - check message for specific policy store issue

getBoundSecurityModules

java.util.List<SMEntry> getBoundSecurityModules(java.lang.String appName)
                                                throws InvalidArgumentException,
                                                       PolicyObjectNotFoundException,
                                                       PolicyStoreException
Retrieve SM Entries bound to a given application.
Parameters:
appName - application policy name
Returns:
List of SMEntry instances bound to the specified application. If no application matches the criteria, returns an empty list.
Throws:
InvalidArgumentException - - if appName is null or empty string
PolicyObjectNotFoundException - - if application does not exist.
PolicyStoreException - - check message for specific policy store issue

getBoundApplications

java.util.List<ApplicationPolicy> getBoundApplications(java.lang.String smName)
                                                       throws InvalidArgumentException,
                                                              ConfigurationNotFoundException,
                                                              PolicyStoreException
Retrieve application names bound to a SM.
Parameters:
smName - - SM name.
Returns:
List of the ApplicationPolicy instances bound to the specified SM. If no application matches the criteria, returns an empty list.
Throws:
InvalidArgumentException - - if smName is null or empty string
ConfigurationNotFoundException - - if SM do not exist.
PolicyStoreException - - check message for specific policy store issue

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.