Class OpenNMSLoginUrlAuthEntryPoint

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint

    public class OpenNMSLoginUrlAuthEntryPoint
    extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String buildRedirectUrlToLoginPage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)  
      void commence​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)  
      protected boolean isHttpsEnabled​(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:
        commence in interface org.springframework.security.web.AuthenticationEntryPoint
        Overrides:
        commence in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
        Throws:
        IOException
        javax.servlet.ServletException
      • buildRedirectUrlToLoginPage

        protected String buildRedirectUrlToLoginPage​(javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.security.core.AuthenticationException authException)
        Overrides:
        buildRedirectUrlToLoginPage in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
      • isHttpsEnabled

        protected boolean isHttpsEnabled​(javax.servlet.http.HttpServletRequest request)