• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic - Java EE Principals

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In tomcat, the Java EE principals are specified in /conf/tomcat-users.xml
Can someone please let me know how it is done in Weblogic.

I am told in weblogic it can be done using the "Management Tool". Please tell me where it is and how to add usernames through it.

Thank you
 
sangeeta kapoor
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did the following in tomcat
1. Add the following in my application's web.xml

2. Add the following in conf/tomcat-users.xml


Now I need to do the same thing in Weblogic. As far as editing web.xml is concerned that step remains the same.

Please let me know how I can achieve the second step (to add users and roles) in Weblogic. Is there a file similar to tomcat-users.xml in Weblogic.

Thank you


 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sangeeta kapoor wrote:
I am told in weblogic it can be done using the "Management Tool". Please tell me where it is and how to add usernames through it.
Thank you



The "management tool" is the Weblogic Server Administration Console.
See the page on securing servers and resources for how to create a security realm and add users and groups.
Tomcat uses the same idea of a security realm, however, they provide a "UserDatabaseRealm" which one can configure via the server.xml file. Weblogic doesn't have that same kind of realm. The default for Weblogic is an embedded LDAP implementation.
 
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic