Hi All,
I'm really frustrated. I cannot get rampart as SAML2 token issuer, with my
own implementation.
If I use
stsClient.setAction(RahasConstants.WST_NS_05_12 +
RahasConstants.RST_ACTION_ISSUE);
I got [java] java.util.MissingResourceException: Can't find resource
for bundle org.apache.axis2.i18n.ProjectResourceBundle, key
specificActionNotRecognised
So, i'm not able to use this version of ws-trust (both if I use as action
the IssueToken).
If I use the version 05_02, I can use the STSClient class, my tokenIssuer
issues the token, but when it come back, I got this:
[java] java.lang.NullPointerException
[java] at
org.apache.rahas.client.STSClient.processIssueResponse(STSClient.java:283)
[java] at
org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:130)
so, the method
OMElement binSecElem = serviceEntrElem.getFirstElement();
is null. If in my token issuer I use
Base64.encode(data.getResponseEntropy());
I got a nullpointerexception. How can I use the entropy?
And, is correct to have the entropy mechanism with a saml token?
Let me know, now it's 2 weeks that I'm spending using rampart.
Have you pointers and examples?
Thanks,
Massimiliano
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.