Class AuthenticationSuccessHandler

java.lang.Object
org.opencastproject.kernel.security.AuthenticationSuccessHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

public class AuthenticationSuccessHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
Sends authenticated users to one of the configured welcome pages after login.
  • Field Details

  • Constructor Details

    • AuthenticationSuccessHandler

      public AuthenticationSuccessHandler()
  • Method Details

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
      Throws:
      IOException
      See Also:
      • AuthenticationSuccessHandler.onAuthenticationSuccess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.springframework.security.core.Authentication)
    • setSecurityService

      public void setSecurityService(SecurityService securityService)
      Sets the security service
      Parameters:
      securityService - the security service
    • setWelcomePages

      public void setWelcomePages(Map<String,String> welcomePages)
      Sets the welcome pages mapping.
      Parameters:
      welcomePages - the welcomePages to set