Scott,
I'm using 3.2. I even tried to have the following entries in my web.xml.
Didn't help
===
<error-page>
<exception-type>org.jasig.cas.ticket.TicketCreationExecption
</exception-type>
<location>/WEB-INF/view/jsp/default/ui/serviceErrorView.jsp</location>
</error-page>
<error-page>
<exception-type>
org.jasig.cas.authentication.handler.BadCredentialsAuthenticationException
</exception-type>
<location>/WEB-INF/view/jsp/default/ui/serviceErrorView.jsp</location>
</error-page>
<error-page>
<exception-type>org.acegisecurity.BadCredentialsException
</exception-type>
<location>/WEB-INF/view/jsp/default/ui/serviceErrorView.jsp</location>
</error-page>
===
I have two ways of replicating this error.
1. I access https://localhost:8443/cas/serviceErrorView which redirects me
to /login
2. I access cilent url http://localhost:8090/my-sso-prj which directs me to
the login page as expected.
After I enter the credentials and submit it, it throws the
org.acegisecurity.BadCredentialsException as expected.
In the tamper data I notice that it calls
https://localhost:8443/cas/serviceErrorView?error=org.acegisecurity.BadCredentialsException%3A+null%3A+null
and almost immediately it gets redirected to
URL=
https://localhost:8443/cas/login?error=org.acegisecurity.BadCredentialsException%3A+null%3A+null
Your thoughts as to where I might have my configurations wrong would be much
appreciated.
Thanks,
Sam
On Tue, Mar 18, 2008 at 1:43 PM, Scott Battaglia <[EMAIL PROTECTED]>
wrote:
> Sam,
>
> Its most likely a configuration error (either in the default config or
> somewhere else). What version of CAS are you using? What steps do you take
> to replicate this error?
>
>
> -Scott
>
> On Tue, Mar 18, 2008 at 2:36 PM, Sam Karl <[EMAIL PROTECTED]> wrote:
>
> > All,
> >
> > Every time there's an error and
> > https://localhost:8443/cas/serviceErrorView gets called it immediately
> > gets redirected to the /login page. When does the contents of
> > serviceErrorView page get displayed? Is there a way to avoid that
> > redirection and get the content of serviceErrorView displayed?
> >
> > In the mailing list archives, I did find things like problem
> > configuring services..mine is not that issue. I'm trying to get the
> > serviceErrorView displayed instead of being redirected to login. Has any one
> > come across or tried it before?
> >
> > Thanks,
> > Sam
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
>
> --
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas