Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policyaccess
Interface IPolicyAccessSubject

All Known Implementing Classes:
PolicyAccessSubject

public interface IPolicyAccessSubject

Method Summary
 Element getElement()
          The Element must follow the following schema:
It can either be a <binding.ws> element as defined in SCA or a SCA component element <component>.
 IPolicySet getPolicySet()
          Returns the policySet that is set using setPolicySet
 IPolicySubject getPolicySubject()
          Returns the PolicySubject that captures the topology path representation of the element.
 void setElement(Element element)
          The Element must follow the following schema:
It can either be a <binding.ws> element as defined in SCA or a SCA component element <component>.
 void setPolicySet(IPolicySet policySet)
          The PolicySet currently being used by the runtime or null if this is the initial call for this policy subject.
 void setPolicySubject(IPolicySubject polSubject)
          Used to passing the topology path representation of the element NOTE: policySubject.getResourcePattern() should return resource patterns of the form: "/{ias}/{oc4j}/{app}/WEBs|EJBs/{module}/WEBSERVICEs/{service}/PORTs/{port}"

 

Method Detail

getElement

Element getElement()
The Element must follow the following schema:
It can either be a <binding.ws> element as defined in SCA or a SCA component element <component>. All other elements will be ignored.
For the <binding.ws> - the port is required attribute.
The element should look as follows:
<binding.ws port=&quote;...&quote;>
<!- Note A use-case for enabling/disabling Policy References has been identified ->
<wsp:PolicyReference URI=&quote;security/mypolicy&quote; orawsp:status=&quote;enabled&quote;..../>
<wsp:PolicyReference URI =&quote;wsrm/mypolicy&quote; .../>
...
</binding.ws>
This will apply for both Services (EntryPoints) and Reference (ExternalServices).
In case of Fabric the other element that can be passed in is SCA Component. Only the child of the component Element will be looked at for are wsp:PolicyReference elements.
<component name=&quote;componentName&quote; ...>
<wsp:PolicyReference URI=&quote;management/Logging_Policy&quote; orawsp:status=&quote;enabled&quote; .../>
....
</component>
All other elements will be ignored.
Returns:
Element

setElement

void setElement(Element element)
The Element must follow the following schema:
It can either be a <binding.ws> element as defined in SCA or a SCA component element <component>. All other elements will be ignored.
For the <binding.ws> - the port is required attribute.
The element should look as follows:
<binding.ws port=&quote;...&quote;>
<!- Note A use-case for enabling/disabling Policy References has been identified ->
<wsp:PolicyReference URI=&quote;security/mypolicy&quote; orawsp:status=&quote;enabled&quote;..../>
<wsp:PolicyReference URI =&quote;wsrm/mypolicy&quote; .../>
...
</binding.ws>
This will apply for both Services (EntryPoints) and Reference (ExternalServices).
In case of Fabric the other element that can be passed in is SCA Component. Only the child of the component Element will be looked at for are wsp:PolicyReference elements.
<component name=&quote;componentName&quote; ...>
<wsp:PolicyReference URI=&quote;management/Logging_Policy&quote; orawsp:status=&quote;enabled&quote; .../>
....
</component>
All other elements will be ignored.
Parameters:
element - - Should not be null.

getPolicySubject

IPolicySubject getPolicySubject()
Returns the PolicySubject that captures the topology path representation of the element. NOTE: policySubject.getResourcePattern() should return resource patterns of the form: "/{ias}/{oc4j}/{app}/WEBs|EJBs/{module}/WEBSERVICEs/{service}/PORTs/{port}"
Returns:
IPolicySubject

setPolicySubject

void setPolicySubject(IPolicySubject polSubject)
Used to passing the topology path representation of the element NOTE: policySubject.getResourcePattern() should return resource patterns of the form: "/{ias}/{oc4j}/{app}/WEBs|EJBs/{module}/WEBSERVICEs/{service}/PORTs/{port}"
Parameters:
polSubject - - should not be null

getPolicySet

IPolicySet getPolicySet()
Returns the policySet that is set using setPolicySet
Returns:
IPolicySet

setPolicySet

void setPolicySet(IPolicySet policySet)
The PolicySet currently being used by the runtime or null if this is the initial call for this policy subject.
Parameters:
policySet -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.