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

JAAS Configuration gives Authontication Failure Error

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

I have JAAS config file as below,

dpJndi {
com.hp.ov.cwc.security.jaas.JndiLoginModule required
user.provider.url="ldap://swatsaveltd.com:389/cn=users,dc=swatsaveltd,dc=com"
security.principal="anonymous logon"
security.credentials=""
group.provider.url="ldap://swatsaveltd.com:389/ou=SECURITY GROUPS,ou=GROUPS,dc=swatsaveltd,dc=com"
security.authentication="simple"
group.search.objectClass="group"
use.samAccount.name="true"
user.search.scope=subtree_scope
group.search.scope=subtree_scope;
}

This is allowing user from a perticular OU to login. I want user from all the OUs can log in to the application (People, Group etc.). Please suggest me on what kind of changes I need to do in the file.

Also is it neccessry to put below statement in the cofiguration?
group.search.objectClass="group"


 
Sheriff
Posts: 7135
1360
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please continue the discussion in your other topic.
Locking this one.
 
    Bookmark Topic Watch Topic
  • New Topic