• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

weblogic security

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.
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Sridhar,
Probably this should help..
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
He was expelled for perverse baking experiments. This tiny ad is a model student:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic