Class OpenNMSLoginUrlAuthEntryPoint
- java.lang.Object
-
- org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
- org.opennms.web.springframework.security.OpenNMSLoginUrlAuthEntryPoint
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
public class OpenNMSLoginUrlAuthEntryPoint extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
-
Constructor Summary
Constructors Constructor Description OpenNMSLoginUrlAuthEntryPoint()OpenNMSLoginUrlAuthEntryPoint(String loginFormUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildRedirectUrlToLoginPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)protected booleanisHttpsEnabled(javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
afterPropertiesSet, buildHttpsRedirectUrlForRequest, determineUrlToUseForThisRequest, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setForceHttps, setLoginFormUrl, setPortMapper, setPortResolver, setUseForward
-
-
-
-
Constructor Detail
-
OpenNMSLoginUrlAuthEntryPoint
public OpenNMSLoginUrlAuthEntryPoint()
-
OpenNMSLoginUrlAuthEntryPoint
public OpenNMSLoginUrlAuthEntryPoint(String loginFormUrl)
-
-
Method Detail
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, javax.servlet.ServletException- Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Overrides:
commencein classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint- Throws:
IOExceptionjavax.servlet.ServletException
-
buildRedirectUrlToLoginPage
protected String buildRedirectUrlToLoginPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
- Overrides:
buildRedirectUrlToLoginPagein classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
isHttpsEnabled
protected boolean isHttpsEnabled(javax.servlet.http.HttpServletRequest request)
-
-