Corrected outdated filter name in Javadoc

This commit is contained in:
Luke Taylor 2008-05-30 17:49:03 +00:00
parent a5cae70949
commit 373f7b648b

View File

@ -30,12 +30,14 @@ import org.springframework.util.Assert;
/** /**
* Used by the <code>SecurityEnforcementFilter</code> to commence authentication via the JA-SIG Central * Used by the <code>ExceptionTranslationFilter</code> to commence authentication via the JA-SIG Central
* Authentication Service (CAS).<P>The user's browser will be redirected to the JA-SIG CAS enterprise-wide login * Authentication Service (CAS).
* page. This page is specified by the <code>loginUrl</code> property. Once login is complete, the CAS login page will * <p>
* The user's browser will be redirected to the JA-SIG CAS enterprise-wide login page.
* This page is specified by the <code>loginUrl</code> property. Once login is complete, the CAS login page will
* redirect to the page indicated by the <code>service</code> property. The <code>service</code> is a HTTP URL * redirect to the page indicated by the <code>service</code> property. The <code>service</code> is a HTTP URL
* belonging to the current application. The <code>service</code> URL is monitored by the {@link CasProcessingFilter}, * belonging to the current application. The <code>service</code> URL is monitored by the {@link CasProcessingFilter},
* which will validate the CAS login was successful.</p> * which will validate the CAS login was successful.
* *
* @author Ben Alex * @author Ben Alex
* @author Scott Battaglia * @author Scott Battaglia
@ -65,8 +67,8 @@ public class CasProcessingFilterEntryPoint implements AuthenticationEntryPoint,
} }
public void commence(final ServletRequest servletRequest, final ServletResponse servletResponse, public void commence(final ServletRequest servletRequest, final ServletResponse servletResponse,
final AuthenticationException authenticationException) final AuthenticationException authenticationException) throws IOException, ServletException {
throws IOException, ServletException {
final HttpServletResponse response = (HttpServletResponse) servletResponse; final HttpServletResponse response = (HttpServletResponse) servletResponse;
final String urlEncodedService = CommonUtils.constructServiceUrl(null, response, this.serviceProperties.getService(), null, "ticket", this.encodeServiceUrlWithSessionId); final String urlEncodedService = CommonUtils.constructServiceUrl(null, response, this.serviceProperties.getService(), null, "ticket", this.encodeServiceUrlWithSessionId);
final String redirectUrl = CommonUtils.constructRedirectUrl(this.loginUrl, "service", urlEncodedService, this.serviceProperties.isSendRenew(), false); final String redirectUrl = CommonUtils.constructRedirectUrl(this.loginUrl, "service", urlEncodedService, this.serviceProperties.isSendRenew(), false);