From 58509a27369da959e009c326fb67867f326f784f Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Wed, 19 Sep 2007 00:24:17 +0000 Subject: [PATCH] Corrected method name in comment. --- .../acegisecurity/adapters/cas/CasPasswordHandlerProxy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adapters/cas/src/main/java/org/acegisecurity/adapters/cas/CasPasswordHandlerProxy.java b/adapters/cas/src/main/java/org/acegisecurity/adapters/cas/CasPasswordHandlerProxy.java index a3c24a9a9e..5c64ada68b 100644 --- a/adapters/cas/src/main/java/org/acegisecurity/adapters/cas/CasPasswordHandlerProxy.java +++ b/adapters/cas/src/main/java/org/acegisecurity/adapters/cas/CasPasswordHandlerProxy.java @@ -27,6 +27,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils; import java.util.Map; import javax.servlet.ServletRequest; +import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; @@ -39,7 +40,7 @@ import javax.servlet.http.HttpServletRequest; * server if not desired. It exists solely for the convenience of users wishing have CAS delegate to an Acegi Security * System-based AuthenticationManager.

*

This class works requires a properly configured CasPasswordHandler. On the first authentication - * request, the class will use Spring's {@link WebApplicationContextUtils#getWebApplicationContext(ServletContext sc)} + * request, the class will use Spring's {@link WebApplicationContextUtils#getRequiredWebApplicationContext(ServletContext)} * method to obtain an ApplicationContext instance, inside which must be a configured * CasPasswordHandler instance. The CasPasswordHandlerProxy will then delegate * authentication requests to that instance.