File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Aunthentication Problem:URGENT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Aunthentication Problem:URGENT" Watch "Aunthentication Problem:URGENT" New topic

Aunthentication Problem:URGENT

Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
How will u set the Aunthentication for a user in Weblogic6.0

- Vinod<br />-------<br />SCJP2
Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
There are a couple of different security-authentication mechanisms you can employ with WebLogic Server. The simplest thing to do would be to use the default fileRealm (ok for apps with less than 1000 users). Do the following:
1. Add some new users (and possibly groups) from within the Admin Console.
2. In the weblogic.xml file, set up a new role, and assign a group (or individual(s)) to that role, such as:
The <role-name> can be anything you want, and the <principal-name> matches to a group or name that you defined in the Admin Console.
3. Lastly, restrict a resource to that security role. This is done in the web.xml file, such as:
For enterprise, world-class apps however, you wouldn't want to keep all of your security information in the file. Instead you would probably want to go with another mechanism.
Joe McGuire
Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
I agree. Here's the link:
subject: Aunthentication Problem:URGENT
It's not a secret anymore!