• 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 Security Constraints

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we have security contraints applied to a folder in a webapp deplyed on Weblogic app server.
My web app structure is as below
MyWebApp
|
|
| - first.jsp
| - second.jsp
| - /reports
|
| - third.jsp
| - fourth.jsp

Can I restrict reports folder to allow access only to user belonging to a particular role. Security constraint element which defines this in the web.xml is given below.

<security-constraint>

<web-resource-collection>

<web-resource-name>entireWebSite</web-resource-name>
<description>protects the entire web site.</description>
<url-pattern>/reports/*</url-pattern>
</web-resource-collection>

<auth-constraint>
<role-name>PARS_Giro_Recon_Mngr</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>

</security-constraint>

When I access the page it gives a page not found error.
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic