The moose likes Java in General and the fly likes JAAS - NTSID to Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "JAAS - NTSID to "friendly" name" Watch "JAAS - NTSID to "friendly" name" New topic
Author

JAAS - NTSID to "friendly" name

Jared Krull
Ranch Hand

Joined: Sep 28, 2001
Posts: 32
I'm using JAAS to authenticate my app against an NT domain and would like to use my app to look through the different security groups associated with the user.

I create my LoginContext, then login, then looking through the returned Principal objects:



All's well so far but when the Principal is a group, the only data I can get is the SID reference (looks like "S-1-5-22-534") and not the name that is used to setup the group.

I'd like to find a way to resolve the SID to the actual name of the group.

Is that possible?

C programmer gone astray
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JAAS - NTSID to "friendly" name
 
Similar Threads
JDBCRealm and Form Login
JAAS: Unable to locate a login configuration
Using JAAS UnixLoginModule to login as root on Linux
JAAS - No LoginModules configured
JAAS-MBean Authentication