File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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