The Source for Java Technology Collaboration
Webmaster Alert: Posting to Jive Forums is currently not working. Estimated time for fix is unknown.

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: WS-TRUST/STS special message handling

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Nov 24, 2008 4:54 PM by: jdg6688
dgovoni

Posts: 43
WS-TRUST/STS special message handling
Posted: Nov 24, 2008 10:27 AM
  Click to reply to this thread Reply

Hi,
I am using the default STS in metro, but need to affect and initiate a RSTR response from a message handler on the STS that performs some authorization. Or, if the STS has a plugin for some authorization, I will use that.

In my design, the message handler looks at the inbound STS request and would like to return a response with a reason for denying the request.

My question is: How can this capability be added to the Base STS impl in Metro? Is there a plugin I can do for this?
How can I short circuit the STS conversation and return a special response from a handler? Is that the correct approach?

thanks for any tips!!
Darren

jdg6688

Posts: 891
Re: WS-TRUST/STS special message handling
Posted: Nov 24, 2008 10:56 AM   in response to: dgovoni
  Click to reply to this thread Reply

There is an STSAttributeProvider (
http://fisheye5.cenqua.com/browse/~raw,r=1.4/wsit/wsit/rt/src/com/sun/xml/ws/api/security/trust/STSAuthorizationProvider.java) you can implement and plugin to the STS the same way as for the STSAttributeProvider.

jdg6688

Posts: 891
Re: WS-TRUST/STS special message handling
Posted: Nov 24, 2008 10:57 AM   in response to: jdg6688
  Click to reply to this thread Reply

> There is an STSAttributeProvider
I mean STSAuthorizationProvider
>( http://fisheye5.cenqua.com/browse/~raw,r=1.4/wsit/wsit
> /rt/src/com/sun/xml/ws/api/security/trust/STSAuthoriza
> tionProvider.java) you can implement and plugin to
> the STS the same way as for the STSAttributeProvider.

dgovoni

Posts: 43
Re: WS-TRUST/STS special message handling
Posted: Nov 24, 2008 12:04 PM   in response to: jdg6688
  Click to reply to this thread Reply

That's very wonderful jdg! I was hoping there would be.

Is this stuff in the Metro documentation yet? I hate to be a bother on the forums, but we're doing exciting stuff with Metro for a big standards (e.g. OASIS) interoperability demo coming soon. Its great stuff so far.

jdg6688

Posts: 891
Re: WS-TRUST/STS special message handling
Posted: Nov 24, 2008 4:54 PM   in response to: dgovoni
  Click to reply to this thread Reply

> That's very wonderful jdg! I was hoping there would
> be.
Thanks!
>
> Is this stuff in the Metro documentation yet?
https://wsit.dev.java.net/docs/trust-whitepaper.pdf

>I hate
> to be a bother on the forums, but we're doing
> exciting stuff with Metro for a big standards (e.g.
> OASIS) interoperability demo coming soon.

>Its great
> stuff so far.




 XML java.net RSS