Hi,

Did you add an AttachedReference or an UnattachedReference element in
the RSTR created by your custom issuer?

Can you please send the response produced by your issuer?

Thanks,
Ruchith

Massimiliano Masi wrote:
> 
> (Sorry for the crosspost, I didn't know about the rampart mailing list)
> 
> 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.
> 
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to