• 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

Open SSO integration with Active Directory

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Experts,
I am trying to integrate OpenSSO with our existing Active Directory setup. I followed all steps mentioned in this article
http://blogs.sun.com/bounds/entry/opensso_authentication_with_active_directory

But when I try authenticating a user id fails. Now I am not sure how to debug this. I dont see any server logs moving. Any idea how to debug the OpenSSO installation?
I am not even sure if its trying to reach Active Directory or not?

Is there anyways I can enable logging in OpenSSO war file?

Also, I am not using an administrator account to contact Active Directory, is it necessary?

Any help or ideas would be appreciated. Thanks in advance!
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Priya,

I'm not at all familiar with this product but I can suggest that:

1.) Unzip the OpenSSO war and see if they have a log4j.properties or log4j.xml, that should show you where their logs are going to.
2.) Since it is open source you should be able to download the source code, add your own logging and build your own WAR.
3.) I suspect you'd need to be an administrator or some one with elevated privileges yes.

 
Priyanka Dandekar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply, I edited the log4j.properties file in opensso/WEB-INF/classes directory and set the logging to DEBUG mode. But it doesnt seem to be logging anything. Here are the content of the prop file. I dont even see the c:/temp/opensso.log file created




It seems that the settings here are not being used...
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd expect that logging to work, I assume the temp directory exists and there are no permissioning issues with that folder? It might be worth checking the source code of the project to see if they actually do have any logging statements
 
Priyanka Dandekar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
temp directory exists and I have all permission on that directory to create or delete files. I suspect this file is not being used for logging. there may be some other config file which is being read...not sure though...
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case all I can suggest is to view the source code and see what logging it attempts.
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this 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