This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Managing Users in file in version 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Managing Users in file in version 5.1" Watch "Managing Users in file in version 5.1" New topic

Managing Users in file in version 5.1

Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
The system I am currently maintaining stores its userids in file, creates a group also in the properties file, and has a access control policy for the URLS.
Basic authentication is done in weblogic realm
Now I want to add/modify/delete users in the file. Is there an api to do so, or shall I have to take the risk to modify the properties file from my code and hope that my properties file don't get corrupt ?

subhadarshi sahoo

Joined: Jul 24, 2000
Posts: 3
I am planning to use a custom authentication realm which will read principals and acls from XML files. How is this solution collegues?

I agree. Here's the link:
subject: Managing Users in file in version 5.1