• 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

WSAD 4.1.1 Security

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I'm trying to do a simple security example with WSAD 4.1.1 Test Enviornment. I have setup the web.xml as shown below. What I can't figure out is where I configure the login names and passwords that can be used to login to that role. Since I'm just trying to do a trivial example, I would prefer the simplest manner of specifying the login names and passwords for the role.
Thanks for the help,
Victor Peters

<security-constraint>
<web-resource-collection>
<web-resource-name>RestrictedResources</web-resource-name>
<description>Resources accessible to only to the SuperUser.</description>
<url-pattern>/view-restricted.html</url-pattern>
<url-pattern>/ShowUser</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint>
<description></description>
<role-name>SuperUser</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<description>A simple restricted-access user role.</description>
<role-name>SuperUser</role-name>
</security-role>
 
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The WebSphere security model authenticates against local os or LDAP. Only local OS is supported in WSAD. The idea is you configure roles withing WSAD and validate against NT groups/users on the WSAD PC or it's domain. I know that there were issues involved in setting this up. See Google link below.
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=1931edf20efdaa70&rnum=2
 
I once met a man from Nantucket. He had a tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic