This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Capturing user name entered as part of Basic authentication using Java code

Asif Rahman
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a web service that I am securing using Basic authentication by configuring the security params in my web.xml. I'm running on JBoss, so the security realm is also configured using a JBoss login module within the login-config.xml.

My question: When the user enters her user name on the pop up when trying to access my service, how do I capture this information? Is it possible to do so using Java code? If so how?

Thanks, appreciate any help on this.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic