• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

ACLs in Weblogic 6.1

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was wanting to create ACL's on Servlet in Weblogic 6.1.
In 5.1 we did it in the weblogic.properties.
Can anyone explain how to create one in 6.1
Thanx in Advance!
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you have to use security constraints in the web.xml file.
 
Anand Nagloor
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx! I figured out the same.
Does any one have a sample of web.xml for ACLs???
 
Anand Nagloor
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does the role mapping work in the weblogic.xml file??
How do I add the groups created from the console to the weblogic.xml or the web.xml file???
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Anand Nagloor:
How does the role mapping work in the weblogic.xml file??
How do I add the groups created from the console to the weblogic.xml or the web.xml file???


When you add a role mapping in weblogc.xml, you list the principals. These can be either user names or group names that you have defined in the console. For example, look at the example at the bottom of this page:
http://e-docs.bea.com/wls/docs61/webapp/security.html
From that page, you have weblogic.xml with:
<security-role-assignment>
<role-name>mgr</role-name>
<principal-name>al</principal-name>
<principal-name>george</principal-name>
<principal-name>ralph</principal-name>
</security-role-ref>
That maps the role-name "mgr" from the web.xml to the principals al, george, and ralph (which seem to be user names - I suggest using group names here, it is easier to manage).
If you do not have a role mapping in weblogic.xml, the default mapping is that the role name is used as the principal name.
 
Get out of my mind! Look! A tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic