Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to reterive group using servlet

 
Santosh Maskar
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about request.getUserPrincipal().getName()?

Jules
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic