This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Open SSO integration with Active Directory

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case all I can suggest is to view the source code and see what logging it attempts.
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!