Topic
1 reply Latest Post - ‏2010-12-07T08:06:15Z by J_J_78
J_J_78
J_J_78
2 Posts
ACCEPTED ANSWER

Pinned topic LTPA token problem

‏2010-12-07T08:02:30Z |
Hi.

I'm running JAX-WS services in WAS 7.0 server. I have a one client that class firts web service and the first passes a message to second web service. Problem is, how to propagate ltpa token from client to second web service. I use policy set which creates ltpa token ws-security header. Same policy set is attached to both services. Question is: Do I need basic authentication http header to propagate ltpa token if both services are secured with that? Do I need to use LTPAv2 token type or LTPA_PROPAGATION type?
Updated on 2010-12-07T08:06:15Z at 2010-12-07T08:06:15Z by J_J_78
  • J_J_78
    J_J_78
    2 Posts
    ACCEPTED ANSWER

    Re: LTPA token problem

    ‏2010-12-07T08:06:15Z  in response to J_J_78
    I get this error:

    12/7/10 10:05:23:256 EET] 00000043 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
    12/7/10 10:05:23:256 EET 00000043 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: Servlet Error-TestServlet: javax.xml.ws.soap.SOAPFaultException: security.wssecurity.WSSContextImpl.s02: com.ibm.websphere.security.WSSecurityException: Exception org.apache.axis2.AxisFault: CWWSS6521E: The Login failed because of an exception: javax.security.auth.login.LoginException: Error logging in: com.ibm.websphere.security.auth.WSLoginFailedException: No authentication data. ocurred while running action: com.ibm.ws.wssecurity.handler.WSSecurityConsumerHandler$1@63976397
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1249)
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:975)
    at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:558)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:473)