Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

JAAS Authentication in MDB

Posted on 2005-03-16
4
Medium Priority
?
581 Views
Last Modified: 2013-11-24
We are using Weblogic Application server 8.1.
There is a session bean (sb1) sending a JMS message that is processed by an MDB which in turn calls another session bean (sb2). In this situation can the mdb or sb2 leverage the JAAS authentication already done before calling sb1. If not can the mdb leverage the custom authentication provider to ease the pain of doing the authentication again and set the authenticated user roles that sb2 can leverage. (the session bean sb2 methods require authorization)

0
Comment
Question by:padmasri99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
aozarov earned 1000 total points
ID: 13571853
The MDB will not use the Principal of the sender (sb1). Sender and receiver are decoupled and receiver runs in its own thread.
You can use the run-as setting in the deployment descriptor or use login programatically.
0
 
LVL 15

Expert Comment

by:aozarov
ID: 13682174
Is there still something unclear?
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question