File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: Security, JBoss.NET, EJB - No clue
Similar Threads
How to servlet invoked secured EJB in JBOSS
Soap Logging in Axis Tool
Object that contain ArrayList
How to servlet invoked secured EJB in JBOSS
Why cannot my own Handler work?