posted 14 years ago
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?