wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Security, JBoss.NET, EJB - No clue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Security, JBoss.NET, EJB - No clue" Watch "Security, JBoss.NET, EJB - No clue" New topic

Security, JBoss.NET, EJB - No clue

Thomas Bauer

Joined: Jan 25, 2005
Posts: 6

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?

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


I agree. Here's the link: http://aspose.com/file-tools
subject: Security, JBoss.NET, EJB - No clue
Similar Threads
How to servlet invoked secured EJB in JBOSS
Why cannot my own Handler work?
Object that contain ArrayList
Soap Logging in Axis Tool
How to servlet invoked secured EJB in JBOSS