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

Security, JBoss.NET, EJB - No clue

 
Thomas Bauer
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have a Stateless SesionBean that acts as facade to my other EJBs.
I have deployed a .wsr with a deployment deskriptor that allows WEBService access to the methods of my facade.
I also configured authentication for my webservice using jaas, as follows (out of my web-servce.xml):


I have not configured any security related stuff for my EJBs.
I've written a client that accesses this webservice and everything works fine (I need to supply a username/password).

Now my question:
What are the steps to get information in my EJB Method about who logged in.
As an example:



How would I do this?

FYI:
I'm using JBoss 3.2.6 with the jboss-net patch installed.
The JAAS Realm is a Database-Realm if that's important.

Thanx

Pauli
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic