Expand my Community achievements bar.

Erroe while invoking a process (could not validate SAML)

Avatar

Level 3

Hi,

I am getting the following error while invoking a process from
Weblogic  Portal Server.The invocation happens properly always but
after frequent  intervals(approx 1-1.5 hrs) this error comes.Then if
the Portal Server(the  client which is invoking the process) is
restarted again it works properly.

This is very urgent to resolve.Any pointers to this will be very 
helpful.

Thannks in advance,
Leena Jain

Stack Trace of the error:
ALC-DSC-215-000:  com.adobe.idp.dsc.DSCAuthenticationException: None of
the Auth Provider  could authenticate the user. Authentication Failed
        at 
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.authenticate 
(AbstractMessageReceiver.java:157)
        at 
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke 
(AbstractMessageReceiver.java:312)
        at 
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall 
(SoapSdkEndpoint.java:138)
        at 
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke 
(SoapSdkEndpoint.java:81)
        at  sun.reflect.GeneratedMethodAccessor377.invoke(Unknown
Source)
        at  sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
        at  java.lang.reflect.Method.invoke(Method.java:585)
        at  org.apache.axis.providers.java.RPCProvider.invokeMethod 
(RPCProvider.java:397)
        at  org.apache.axis.providers.java.RPCProvider.processMessage 
(RPCProvider.java:186)
        at  org.apache.axis.providers.java.JavaProvider.invoke
(JavaProvider.java:323) 
        at org.apache.axis.strategies.InvocationStrategy.visit 
(InvocationStrategy.java:32)
        at  org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:
118)
        at  org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at  org.apache.axis.handlers.soap.SOAPService.invoke
(SOAPService.java:454) 
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java: 
281)
        at org.apache.axis.transport.http.AxisServlet.doPost 
(AxisServlet.java:699)
        at  javax.servlet.http.HttpServlet.service(HttpServlet.java:
727)
        at  org.apache.axis.transport.http.AxisServletBase.service 
(AxisServletBase.java:327)
        at  javax.servlet.http.HttpServlet.service(HttpServlet.java:
820)
        at  weblogic.servlet.internal.StubSecurityHelper 
$ServletServiceAction.run(StubSecurityHelper.java:226)
        at  weblogic.servlet.internal.StubSecurityHelper.invokeServlet 
(StubSecurityHelper.java:124)
        at  weblogic.servlet.internal.ServletStubImpl.execute
(ServletStubImpl.java:283) 
        at weblogic.servlet.internal.TailFilter.doFilter 
(TailFilter.java:26)
        at  weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:42) 
        at 
com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter 
(InvocationFilter.java:43)
        at  weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:42) 
        at weblogic.servlet.internal.WebAppServletContext 
$ServletInvocationAction.run(WebAppServletContext.java:3393)
        at  weblogic.security.acl.internal.AuthenticatedSubject.doAs 
(AuthenticatedSubject.java:321)
        at  weblogic.security.service.SecurityManager.runAs(Unknown
Source)
         at
weblogic.servlet.internal.WebAppServletContext.securedExecute 
(WebAppServletContext.java:2140)
        at  weblogic.servlet.internal.WebAppServletContext.execute 
(WebAppServletContext.java:2046)
        at  weblogic.servlet.internal.ServletRequestImpl.run 
(ServletRequestImpl.java:1366)
        at  weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at  weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: |  [com.adobe.idp.um.api.impl.AuthenticationManagerImpl]
errorCode:16421  errorCodeHEX:0x4025 message:Could not validate SAML
Token --- Assertion is  not valid. Current time is greater than
NOTonOrAfter time specified in the  Assertion| [IDPLoggedException]
errorCode:12804 errorCodeHEX:0x3204  message:Could not validate SAML
Token --- Assertion is not valid. Current  time is greater than
NOTonOrAfter time specified in the Assertion
         at com.adobe.idp.um.api.impl.ManagerImpl.handleException 
(ManagerImpl.java:246)
        at  com.adobe.idp.um.api.impl.ManagerImpl.handleException
(ManagerImpl.java:192) 
        at 
com.adobe.idp.um.api.impl.AuthenticationManagerImpl.validateAssertionCheck 
(AuthenticationManagerImpl.java:587)
        at 
com.adobe.idp.um.api.impl.AuthenticationManagerImpl.validateAssertion 
(AuthenticationManagerImpl.java:552)
        at 
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.authenticate 
(AbstractMessageReceiver.java:132)
        ... 33 more

1 Reply

Avatar

Level 4

This happens due to expiry of the SAML assertion that the client has. Have a look at the Renew Assertion Recipe at the cookbook site