-
Mar 30th, 2006, 03:21 AM
#1
Replacement for Weblogic run-as EJB config for data access
Environment:
Weblogic 8.1
JDK 1.4
Spring 1.1.5
Hibernate 3
When switching from EJB based data access to Spring/Hibernate we are facing this problem:
Our datasources are only available to a special system user.
All our data access goes through EJB facades.
The facade EJBs are configured to "run-as" the system user.
Now we are switching to data access directly through Spring/Hibernate DAOs. Does anybody know how we can achieve a similar temporary swithching of current Weblogic user in this scenario?
By the way; Switching to Acegi is a no-op. We have to keep our Weblogic-based security.
-
Mar 30th, 2006, 07:22 AM
#2
Since you are not using EJBs, you'd have to specify the run-as in the servlet's deployment descriptor. Or you could call the Weblogic security API yourself, if you wanted to only run particular parts using a particular user.
Bill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules