> Hi,
>
> in my STS, I need to create a SAML 2.0 Token with an
> AuthnStatement [b]and[/b] an AttributeStatement.
>
> Metro 2.0 EA adds the former [b]or[/b] the latter but
> not both.
>
> How can I add both Statements?
Then you need have a custom STSTokenProvider.
> - or -
> Why is this a bad Idea and how to make it better?
It depends on what you need. The AttirbuteStatement contains the Subject (or in the case of SAMl 2.0, the Subject is an independent element). What information you need from the AuthenticationStstement, authentication method?
Regards,
Jiandong
>
> Regards,
> Andreas
[Message sent by forum member 'jdg6688' (jdg6688)]
http://forums.java.net/jive/thread.jspa?messageID=354523---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...