Thomas Johansen created CXF-6233: ------------------------------------ Summary: STS client only sends AppliesTo on first RST call Key: CXF-6233 URL: https://issues.apache.org/jira/browse/CXF-6233 Project: CXF Issue Type: Bug Components: STS Affects Versions: 3.0.3 Reporter: Thomas Johansen
The RST call from STS client (STSClient.requestSecurityToken(...)) only sends the AppliesTo element first time the call is done. On subsequent calls it is omitted. Apparently this happens because the IssuedTokenInterceptorProvider sets the STSClient's addressingNamespace field to null in a finally block of the issueToken(...) method (org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider line 544). The STSClient requires this field to be non-null to set the element. -- This message was sent by Atlassian JIRA (v6.3.4#6332)