This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to reterive group using servlet 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 » Servlets
Bookmark "how to reterive group using servlet" Watch "how to reterive group using servlet" New topic
Author

how to reterive group using servlet

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
Hi ,
I have a weblogic.xml file

<security-role-assignment>
<role-name>Manager</role-name>
<principal-name>manGroup</principal-name>
</security-role-assignment>

i want to get the reterive the information about </principal-name>

out put will be ManGroup

how can i get this information
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
How about request.getUserPrincipal().getName()?

Jules
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to reterive group using servlet
 
Similar Threads
Security Violation: In Cabin EJB
How to associate web client with a security context?
Settings for security-role in weblogic 7
ACLs in Weblogic 6.1
ties form base authentication with database (weblogic 8.1)