One option that comes to mind for retrieving the login url is, you can define the setting as a context parameter as opposed to a filter parameter in the web.xml file. Then your own authN filter would be able to pick it up from the servlet context.
HTH. -Misagh > -----Original Message----- > From: jleleu [mailto:[email protected]] > Sent: Thursday, June 28, 2012 10:56 AM > To: [email protected] > Subject: re:[cas-user] Create a login link > > Hi, > > You're right : it's the constructRedirectUrl method and you need the > casServerLoginUrl parameter. I don't think you can retrieve it from > your AuthenticationFilter configuration, you can however set it one > more time as you already set it for each of your filters. > That said, I have the impression that you really prefer a solution > based on your AuthenticationFilter, even it needs one more page > dedicated for the redirection to your home page. > Best regards, > Jérôme > > -- > You are currently subscribed to [email protected] as: > [email protected] To unsubscribe, change settings or access archives, > see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
