• Post Reply Bookmark Topic Watch Topic
  • New Topic

getUserPrinciple

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
the servlet specs says :
'The getUserPrincipal method determines the principal name of the current user, the user group to which the principal belongs is retrieved from server's security attributes. The principal is in the security role only if the user's group matches the user group to which the security has been mapped by the deployer.'
I failed to understand what is known as a principal / principal' group ? Pls. let me know.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!