aspose file tools*
The moose likes Web Services and the fly likes Using wsse, is there a dedicated tag for 'group' or 'role' ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using wsse, is there a dedicated tag for Watch "Using wsse, is there a dedicated tag for New topic

Using wsse, is there a dedicated tag for 'group' or 'role' ?

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311

I'm new to the subject WebServices security.
Various tutorials mention that a SOAP message can carry username/password, using the tags < wsse:Username > , < wsse assword >.

I was wondering if the standard would allow me to send a group (or role), *instead* of username/password ?
I am going through an SSO system, so I don't need the password anymore (my systems trust each other). But I would like to send the user role, something like:

// dummy tag!
< wsse:role > admin ...

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
WS-Security deals with authentication, which involves usernames and passwords, but not authorization, where roles would come into play.

But in any case the client does not get to say which roles it would like to be in; that's for the user database (or realm or directory or whatever you have) to decide on the backend.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Using wsse, is there a dedicated tag for 'group' or 'role' ?
Similar Threads
.NET newbie
Resin 3 Forms Authentication
JDBCRealm and Form Login
WS Security Username Token Issue with Weblogic
help needed