The Patch For Bug 13771511 Does Not Fix The SAML Token Offset Issue
(Doc ID 1507161.1)
Last updated on JUNE 05, 2023
Applies to:
Oracle Web Services Manager - Version 11.1.1.4.0 to 11.1.1.7.0 [Release 11gR1]Information in this document applies to any platform.
Symptoms
A Web Service is secured with OWSM using a SAML based policy. A SAML assertion is created. The clock on the system where the assertion is consumed is running behind the clock on the system where the assertion is created. The SAML assertion is then rejected with an error message like this:
Here, the time stamp of the log entry (Apr 24, 2012 12:30:22 AM SGT) is before the date where the assertion becomes valid (Tue Apr 24 00:30:23 SGT 2012) and that causes the SAML assertion to be rejected.
Another example message:
oracle.wsm.common.sdk.WSMException: InvalidSecurityToken : The security token is not valid.
at oracle.wsm.security.policy.scenario.executor.Wss10SamlTokenScenarioExecutor.receiveRequest(Wss10SamlTokenScenarioExecutor.java:166)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:832)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
[...]
Caused by: FAULT CODE: InvalidSecurityToken FAULT MESSAGE: Found invalid condition "on or after" in SAML assertion. Current Time:Wed Jun 11 13:59:22 UTC 2014, clockSkew:360000 milli seconds, NotOnOrAfter Time:Wed Jun 11 13:04:23 UTC 2014.
at oracle.security.jps.internal.jaas.module.saml.SAMLUtils.verifyNotOnOrAfter(SAMLUtils.java:107)
at oracle.security.jps.internal.jaas.module.saml.JpsSAMLVerifier.verifyConditions(JpsSAMLVerifier.java:224)
at oracle.security.jps.internal.jaas.module.saml.JpsSAMLVerifier.verify(JpsSAMLVerifier.java:124)
at oracle.security.jps.internal.jaas.module.saml.JpsSamlAssertor.verify(JpsSamlAssertor.java:91)
at oracle.security.jps.internal.jaas.module.saml.JpsSamlAssertor.assertToken(JpsSamlAssertor.java:68)
at oracle.security.jps.internal.jaas.module.saml.JpsAbstractSAMLLoginModule.login(JpsAbstractSAMLLoginModule.java:107)
... 67 more
This problem is known as <BUG: 13771511> - CAN NOT DEFINE CLOCK SKEW WHEN USING FMW WEB SERVICES.
Bug 13771511 is fixed in version 11.1.1.7.
Problem
11.1.1.7 or newer is used, or <PATCH: 13771511> is applied on 11.1.1.6 and earlier, but this then nevertheless failed to address the symptoms.
In the diagnostic log, at TRACE debugging level for oracle.wsm.security.policy.scenario.processor one or both of the following messages are observed:
[2012-10-31T22:05:39.732+08:00] [osb_server1] [TRACE] [] [oracle.wsm.security.policy.scenario.processor.WssSamlTokenProcessor] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid:<ECID>] [SRC_CLASS: oracle.wsm.security.policy.scenario.processor.WssSamlTokenProcessor] [WSM_POLICY_NAME: oracle/wss10_saml_token_client_policy] [APP: ALSB Routing] [SRC_METHOD: getClientClockSkew] The client clock skew not configured. Using default
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Problem |
Changes |
Cause |
Solution |
Solution for 11.1.1.6 and earlier |
Solution for 11.1.1.7: |
References |