This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

weblogic security  RSS feed

 
sridhar456
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
anybody having idea on weblogic security pls help.
My requirement is to create users in the weblogic realm programmatically.like 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.
Regards,Sridhar.
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Sridhar,
Probably this should help..
http://edocs.bea.com/wls/docs60/security/index.html
Manjunath
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sridhar456",
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 http://www.javaranch.com/name.jsp . 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.
Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!