File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes weblogic security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "weblogic security" Watch "weblogic security" New topic

weblogic security


Joined: Aug 20, 2001
Posts: 1
Hi all,
anybody having idea on weblogic security pls help.
My requirement is to create users in the weblogic realm when I insert into the database, I have to insert the user thru the consoile again to authenticate the user.
How can I add him dynamically.
I tried using cachingrealm class. But How to initialize it.
CachingRealm crealm = new CachingRealm(ListableRealm delegate)... But How can get an instance of a ListableRealm.
if it is BasicRealm we can initialize thru Realm.getRealm().
But in this basicrealm there is no method like newUser() for addiong user dynamically.
If there is any method also pls tell me.
Manjunath Subramanian
Ranch Hand

Joined: Jul 18, 2001
Posts: 236

Hello Sridhar,
Probably this should help..
Matt Midcap

Joined: Jan 07, 1999
Posts: 440
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, which you agreed to when you registered, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Best Regards,<br />Matt Midcap
I agree. Here's the link:
subject: weblogic security
It's not a secret anymore!