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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) voidsetRedirectingEntryPoint(org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint redirectingEntryPoint) voidsetRedirectingPathPatterns(List<String> patterns)
-
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:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
IOExceptionjavax.servlet.ServletException
-
setRedirectingEntryPoint
public void setRedirectingEntryPoint(org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint redirectingEntryPoint) -
setRedirectingPathPatterns
-