modify login.jsp for authentication exception
Joe8313
joe.matthews at bc3.edu
Fri Dec 20 15:52:09 EST 2013
Hello everyone. I am sure this may have been answered and if so, please
forgive me. I am new to Shibboleth and jsp and all of this. so I haev a
Shibboleth IDP setup and a ADFS SP setup. I can go to my SP and get
directed to the login page on my IDP. I can get authenticated against
Microsoft AD. So my initial setup seems to work ok. Now I set the flag in
Microsoft AD to force password change at next login and I get a error on my
login page. so I followed the following document for implementing a
solution to handle this.
http://code.google.com/p/shibboleth-ad-force-password-reset/wiki/Installation
So I copied the jar file over and ran install.bat again. My log seems to
indicate that it is loading the jar and everything. But the last line says
about "•Now modify your login.jsp to handle the exception thrown when the
flag is set. " I am not quite sure how to do this. I tried something like
this but no luck
<% if ("true".equals(request.getAttribute("changepasswordrequired"))) { %>
<section>
<p class="form-element form-error">Login has failed. First
time logging in.</p>
</section>
<% } %>
<% if ("true".equals(request.getAttribute("loginFailed"))) {
%>
<section>
<p class="form-element form-error">test Login has failed.
Double-check your username and password.</p>
</section>
<% } %>
Is there something else I need to import into login.jsp or something I need
to change in the handler.xml? I've been going round and round for several
days now on this and seem to be confusing myself more than anything. Any
advice anyone can give or sites or posts that you can direct me to would be
greatly appreciated.
thanks,
Joe
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/modify-login-jsp-for-authentication-exception-tp7592857.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list