my dog learned polymorphism*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41144
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 - my free Android networking tools app
I agree. Here's the link:
subject: Using wsse, is there a dedicated tag for 'group' or 'role' ?
Similar Threads
.NET newbie
WS Security Username Token Issue with Weblogic
help needed
JDBCRealm and Form Login
Resin 3 Forms Authentication