Class WMCASAuthenticationEntryPoint
java.lang.Object
com.wavemaker.runtime.security.provider.cas.SpringCasAuthenticationEntryPoint
com.wavemaker.runtime.security.provider.cas.WMCASAuthenticationEntryPoint
- All Implemented Interfaces:
SSOEntryPoint,org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
public class WMCASAuthenticationEntryPoint
extends SpringCasAuthenticationEntryPoint
implements SSOEntryPoint
Created by ArjunSahasranam on 5/16/16.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcommence(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException) protected StringcreateServiceUrl(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Constructs a new Service Url.Methods inherited from class com.wavemaker.runtime.security.provider.cas.SpringCasAuthenticationEntryPoint
afterPropertiesSet, createRedirectUrl, getEncodeServiceUrlWithSessionId, getLoginUrl, getServiceProperties, preCommence, setEncodeServiceUrlWithSessionId, setLoginUrl, setServiceProperties
-
Constructor Details
-
WMCASAuthenticationEntryPoint
public WMCASAuthenticationEntryPoint()
-
-
Method Details
-
createServiceUrl
protected String createServiceUrl(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from class:SpringCasAuthenticationEntryPointConstructs a new Service Url. The default implementation relies on the CAS client to do the bulk of the work.- Overrides:
createServiceUrlin classSpringCasAuthenticationEntryPoint- Parameters:
request- the HttpServletRequestresponse- the HttpServlet Response- Returns:
- the constructed service url. CANNOT be NULL.
-
commence
public final void commence(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException) throws IOException, jakarta.servlet.ServletException - Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Overrides:
commencein classSpringCasAuthenticationEntryPoint- Throws:
IOExceptionjakarta.servlet.ServletException
-