in weblogic 8.1 server we have default security realm called myrealm. I created user user123 with password in this realm and deployed simple web application (WAR) with basic authorisation. in web.xml of this application I have:
and tried this application. everything works perfectly well.
then I decided to create new (second) security realm superx. I decided that I will keep all users for my web application in this new realm. so, now we have myrealm (as default), and superx. I removed user from myrealm and added to superx. modified web.xml of my web application:
<a href="http://www.BossTalks.com" target="_blank" rel="nofollow">http://www.BossTalks.com</a><br />Free advices and help for entrepreneurs: from Idea to IPO<br />Software and IT Project Management forum
weblogic supports as many realms as you want to be configured but ONLY ONE ACTIVE at a time, so this is expected.
Joined: Jul 11, 2004
Thank you for your reply. I understood.
The only thing that I need is to have few Web applications (WAR) deployed on WebLogic 8.1 Server, in one domain, all of them will need to use _container_managed_security_ (FORM/Basic authorisation) - but I need all of them NOT to use the only ONE common resource of users.
At the moment, all these Web applications are using default realm, and understand users only from this realm. But I need for the first Web app. to see one list of users, other Web app. - to see other list of users, etc.
Is there any way to do that in WebLogic?
Joined: Jan 06, 2001
You can configure different groups and roles and then using Security Policies get the behavior you need. Look at: