Jaas module configuration
Peter Schober
peter.schober at univie.ac.at
Wed Jan 20 11:31:22 EST 2016
* Yasser Afifi <yasser at 3dissue.com> [2016-01-20 16:35]:
> Michal has moved his modified Tagish modules (DBLogin,
> FileLogin. etc.) here: https://github.com/tauceti2/jaas-rdbms
> There are others floting around the Net, I'm sure.
> -peter
Please look up something to learn how to quote emails.
> I downloaded these modules and put the jar in the lib folder, i get this
> error when i try to log in:
>
> Login Failure: Error reading user database (Unknown column 'user_passwd' in
> 'field list')
>
> Although i changed the jaas.config in shibboleth-idp/conf/authn and also
> changed the tagish.login to suit my database (but i still get that error
> although my database doesn't even have a column called user_passwd)
The example statements from tagish.login (telling the code how your
database looks like) will need to go into whatever file the version of
the Shib IDP you're using uses as JAAS config file.
The Shib IDP by default certainly doesn't look at a file called
tagish.login
For IDPv2 that was /opt/shibboleth-idp/conf/login.config by default,
for IDPv3 according to the documentation
https://wiki.shibboleth.net/confluence/display/IDP30/AuthenticationConfiguration
https://wiki.shibboleth.net/confluence/display/IDP30/PasswordAuthnConfiguration
https://wiki.shibboleth.net/confluence/display/IDP30/JAASAuthnConfiguration
that would require changes to
/opt/shibboleth-idp/conf/authn/password-authn-config.xml and
/opt/shibboleth-idp/conf/authn/jaas.config, at least.
-peter
More information about the users
mailing list