Showing posts with label OWSM. Show all posts
Showing posts with label OWSM. Show all posts

Tuesday, September 17, 2013

OWSM policies: username is not preserved upon import of OSB project in Eclipse

I am not sure this restriction is documented. I have searched in Oracle Support and I could only find this:
Import Policies in OWSM 11g Using a User without Admin Rights (Doc ID 1208863.1)
"Is it possible to import policies in OWSM 11g using a User who does not have Administrative rights?"
"One potential option is to map the logical role "policy.Updater" defined in the WSM-PM EJB application to a group that the User belongs to.
By default, the logical role "policy.Updater" is mapped to the "Administrators" group. "
but this refers to the user you use to log into sbconsole, not to the user you attach to a policy. See also http://docs.oracle.com/cd/E25178_01/web.1111/b32511/managing.htm#CEGHCGEB :
We discovered that Eclipse doesn't import the tag access-control-policies which is created when you edit the oracle/wss11_username_token_with_message_protection_service_policy in the Acces Control tab:
  <ser:coreEntry isProxy="true" isEnabled="true" isTracingEnabled="true">
    <ser:security>
      <con5:inboundWss processWssHeader="false"/>
      <con5:access-control-policies>
        <con5:transport-level-policy xsi:type="con6:ProviderPolicyContainerType" xmlns:con6="http://www.bea.com/wli/sb/security/accesscontrol/config">
          <con6:policy provider-id="XACMLAuthorizer">
            <con6:policy-expression>Usr(pippo)|Usr(pluto)</con6:policy-expression>
          </con6:policy>
        </con5:transport-level-policy>
      </con5:access-control-policies>
    </ser:security>

The only workaround is to open the .proxy file with a text editor and PASTE manually the access-control-policies tag. It's a bit sad.

OSB and OWSM Policy "not supported"

We have some OSB Proxy Services with OWMS policies attached.
When deploying some services, the error message "[OSB Security - OWSM:387177]OWSM Policy oracle/wss_saml_or_username_token_service_policy is not supported " is displayed.
Nothing is displayed in the logs.
Finally it turned out that we need to deploy the OSB project with both Managed Servers up and running.
Thanks Rajesh for solving this issue.


Friday, May 24, 2013

Unable to connect to the Oracle WSM Policy Manager

on a OSB domain with OWSM installed, we had this error when editing the policies associated to a WSDL-based service:




oracle.wsm.policymanager.PolicyManagerException: WSM-02120 : Unable to connect to the Oracle WSM Policy Manager due to the following error "javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://acme.com:8002: Destination unreachable; nested exception is:
javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from hqchnesoa102.acme.com - 10.53.5.192 was not trusted causing SSL handshake failure.; No available router to destination]". [Possible Cause : Destination unreachable; nested exception is:
javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from hqchnesoa102.acme.com - 10.53.5.192 was not trusted causing SSL handshake failure.; No available router to destination]



The root cause was that the Admin server was using a Demo Identity and trust store, while the Managed Servers were using a Custom one. Setting the Admin the same way as the Managed fixed the issue.





Saturday, September 25, 2010

OWSM , cool presentation



Those who have struggled in the past with WS Security, can appreciate how simply and elegantly OWSM manages WS security.

My only wish is that Oracle would use the voice of some sensual girl to advertise their products, that would make them a bit more sexy :o)