I have created a custom realm following the guidelines from the weblogic example (RDBMSRealm). I have also created an entry for it in the weblogic.properties file. My question is how do I propogate the user name and password from the ejb client? Do I put this info in the User class and put it in the context. Any help in this matter will be greatly appreciated.
Monica
-
writing a custom realm for weblogic (1 messages)
- Posted by: Monica Pradhan
- Posted on: March 22 2001 17:05 EST
Threaded Messages (1)
- writing a custom realm for weblogic by Srinivas Janakiraman on March 23 2001 10:43 EST
-
writing a custom realm for weblogic[ Go to top ]
- Posted by: Srinivas Janakiraman
- Posted on: March 23 2001 10:43 EST
- in response to Monica Pradhan
Hi Monica,
If you are using EJB then u must pass a Properties object for the InitialContext constructor and it should contain Context.SECURITY_PRINCIPAL & Context.SECURITY_CREDENTIALS and the values should be your userid and password.
If you are using web application you should use the basic/form authentication stuff.
Srinivas.J