Skip navigation links

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

E10689-01


oracle.wsm.policyaccess.impl
Class PolicyAccessSubjectResult

java.lang.Object
  extended by oracle.wsm.policyaccess.impl.PolicyAccessSubjectResult

All Implemented Interfaces:
IPolicyAccessSubjectResult

public class PolicyAccessSubjectResult
extends Object
implements IPolicyAccessSubjectResult

Constructor Summary
PolicyAccessSubjectResult(boolean isModified, Element element, IPolicySet polSet)
           

 

Method Summary
 boolean equals(Object obj)
           
 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
 int hashCode()
           
 boolean hasPolicySetChanged()
          Returns true if the PolicySet is modified and thus the changes should be picked up.
 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 modified PolicySet
 String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PolicyAccessSubjectResult

public PolicyAccessSubjectResult(boolean isModified,
                                 Element element,
                                 IPolicySet polSet)

Method Detail

hasPolicySetChanged

public boolean hasPolicySetChanged()
Returns true if the PolicySet is modified and thus the changes should be picked up.
Specified by:
hasPolicySetChanged in interface IPolicyAccessSubjectResult
Returns:

getElement

public 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.
Specified by:
getElement in interface IPolicyAccessSubjectResult
Returns:
Element

setElement

public 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.

getPolicySet

public IPolicySet getPolicySet()
Returns the policySet that is set using setPolicySet
Specified by:
getPolicySet in interface IPolicyAccessSubjectResult
Returns:
IPolicySet

setPolicySet

public void setPolicySet(IPolicySet policySet)
The modified PolicySet
Parameters:
policySet -

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

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.