Skip navigation links

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

E10689-01


oracle.wsm.policyaccess
Interface IPolicyAccessSubjectResult

All Known Implementing Classes:
PolicyAccessSubjectResult

public interface IPolicyAccessSubjectResult

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 new PolicySet or null if isPolicySetModified() returns false
 boolean hasPolicySetChanged()
          Returns true if the PolicySet is modified and thus the changes should be picked up.

 

Method Detail

hasPolicySetChanged

boolean hasPolicySetChanged()
Returns true if the PolicySet is modified and thus the changes should be picked up.
Returns:

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

getPolicySet

IPolicySet getPolicySet()
Returns the new PolicySet or null if isPolicySetModified() returns false
Returns:
IPolicySet

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.