How to setup Shibboleth authentication using database
Priyanka W Dhoble
Priyanka.Dhoble at bitwiseglobal.com
Mon Nov 11 09:34:08 EST 2013
I have checked the war file it does not have " tagishauth.jar" file in it. Do I need to copy these jar files to Shibboleth installation directories lib folder and then build war?
-----Original Message-----
From: Priyanka W Dhoble
Sent: 11 November 2013 19:52
To: 'Shib Users'
Subject: RE: How to setup Shibboleth authentication using database
Hi peter,
I will copy SQL & tagishauth.jar both jar's in Shibboleth lib folder and will try again.
I tested the authentication using Shibboleth test application https://sp.testshib.org/ . And there is no error logged in Shibboleth & tomcat logs. Only it says authentication failed even if I enter correct username & password.
Thanks,
Priyanka
-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Peter Schober
Sent: 11 November 2013 19:22
To: users at shibboleth.net
Subject: Re: How to setup Shibboleth authentication using database
* Priyanka W Dhoble <Priyanka.Dhoble at bitwiseglobal.com> [2013-11-11 14:25]:
> 2. Created tagishauth.jar as per instructions given in "Makefile.txt"
>
> 3. Copied this file into Shib2IdP\lib folder
>
> 4. Rebuilt war file by executing install.bat again
>
> 5. Downloaded SQL data provider and copied sqljdbc4.jar to
> CaptiveTomcat 6.0\lib folder
Not sure this is what you've done but both steps 2 and 6 should state to copy any jars into the IdP's unpacked distribution's lib/ directory, and rebuild the war after that.
You should be able to verify that both jars are part of the idp.war (e.g. `unzip -l war/idp.war | fgrep jar` or any other way on MS-Windows).
Do you get any errors anywhere during authentication?
How did you test authentication?
Also try using the FlatFile method for comparison (does not rely on an external network service).
-peter
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list