[zanata/zanata-server] 2e954a: Fix kerberos from-based authentication.
GitHub
noreply at github.com
Tue Nov 12 22:53:51 UTC 2013
Branch: refs/heads/kerberos-form-fallback
Home: https://github.com/zanata/zanata-server
Commit: 2e954a88a1ac1324ab99dabf84387781bf5f7d13
https://github.com/zanata/zanata-server/commit/2e954a88a1ac1324ab99dabf84387781bf5f7d13
Author: Carlos A. Munoz <camunoz at redhat.com>
Date: 2013-11-12 (Tue, 12 Nov 2013)
Changed paths:
R zanata-war/src/main/java/org/zanata/servlet/KerberosLoginFormServlet.java
M zanata-war/src/main/webapp-jboss/WEB-INF/web.xml
A zanata-war/src/main/webapp/account/kloginform.jsp
Log Message:
-----------
Fix kerberos from-based authentication.
Using a servlet to generate the login form was causing the NegotiationAuthenticator valve to return the wrong response code, halting the SPNego process and preventing ticket based authentication (if available) from taking effect.
Replaced the servlet with a jsp file which doesn't have the same problem. Static files work too (.html) but there is a need to dynamically generate the redirection url.
More information about the zanata-commits
mailing list