Class UserEntryPoint

java.lang.Object
org.opencastproject.kernel.security.UserEntryPoint
All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint

public class UserEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint
An AuthenticationEntryPoint that delegates to either a specified redirecting AEP or to one replying with 403.
  • Constructor Details

    • UserEntryPoint

      public UserEntryPoint()
  • Method Details

    • 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
      Throws:
      IOException
      javax.servlet.ServletException
    • setRedirectingEntryPoint

      public void setRedirectingEntryPoint(org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint redirectingEntryPoint)
    • setRedirectingPathPatterns

      public void setRedirectingPathPatterns(List<String> patterns)