You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Massimiliano Masi <ma...@math.unifi.it> on 2007/10/12 10:52:21 UTC

Cannot obtain token identifier

Hi,

I have implemented the STS token issuer, to issue custom saml token.
I just copied the SAMLTokenIssuer.java from the SVN of rampart.

But the client doesn't find the token reference:

  [java] Got trustexception + Cannot obtain token identifier
      [java] org.apache.rahas.TrustException: Cannot obtain token identifier
      [java] 	at  
org.apache.rahas.client.STSClient.processIssueResponse(STSClient.java:224)


I think I've to add something like this,

System.err.println(TrustUtil.createSecurityTokenReference(doc,  
assertion.getID(), "aa"));

But what is the third field? And how I can add it to the envelope in the
WSSE: Header?


Thanks,




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org