Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Load ID from login-config.xml

 
Vanderson Assis
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone. My first post here, and i think it's gonna be the first of a lot more to come!

My question is ... is there a way to load the userID from the login-config.xml? ... below is a fragment of my login-config.xml where it loads the user and role.
On server-side i can load the user name by calling the method "SecurityAssociation.getPrincipal().getName();" Can i get the userID the same way i get the userName by some module-option in the following xml? With some kind of "principalsIdQuery"

Thanks in advance ;)

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic