File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Open SSO integration with Active Directory Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Open SSO integration with Active Directory" Watch "Open SSO integration with Active Directory" New topic
Author

Open SSO integration with Active Directory

Priyanka Dandekar
Ranch Hand

Joined: Aug 06, 2008
Posts: 52
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!


Priya - Mockup Tool | Java | Struts2 | Lucene
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

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.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Priyanka Dandekar
Ranch Hand

Joined: Aug 06, 2008
Posts: 52
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
Bartender

Joined: Jun 24, 2003
Posts: 3268

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

Joined: Aug 06, 2008
Posts: 52
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
Bartender

Joined: Jun 24, 2003
Posts: 3268

In that case all I can suggest is to view the source code and see what logging it attempts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open SSO integration with Active Directory
 
Similar Threads
How to install OpenInstaller in to netBenas 6.1
How to install OpenInstaller in to netBenas 6.1
HTTP open source
Jar/Unjar using JAVA
Favorite upcoming feature?