Hi all
I've got some questions about sts sample in rampart number 5.
1.
If I want to issue a my own token from the sts service I change in
policy.xml in the TokenType element from
<t:TokenType xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust">
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
</t:TokenType>
to
<t:TokenType xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust
">urn:MyOwnToken</t:TokenType>
is this correct?
2.
Can I after this do as is the sample Client.java
options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
loadPolicy("sample05/policy.xml"));
options.setProperty(RampartMessageData.KEY_CUSTOM_ISSUED_TOKEN,
responseToken.getId());
And my token element will be inserted in the soap header of the message
3.
What is the purpose of the TokenStorage?
4.
Is there a way of looking at the implementation of the sts service?
cheers, Håkon
--
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)