Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Weblogic - Java EE Principals

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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
  • 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: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • 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.
 
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic