Package ubic.gemma.rest.security
Class RestAuthEntryPoint
- java.lang.Object
- 
- ubic.gemma.rest.security.RestAuthEntryPoint
 
- 
- All Implemented Interfaces:
- org.springframework.security.web.AuthenticationEntryPoint
 
 public class RestAuthEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint Implementation ofAuthenticationEntryPointfor the RESTful API to handle authentication.This is used in applicationContext-ws-rest.xml as part of Spring Security HTTP configuration. 
- 
- 
Constructor SummaryConstructors Constructor Description RestAuthEntryPoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper, io.swagger.v3.oas.models.OpenAPI openAPI, BuildInfo buildInfo)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
 
- 
- 
- 
Constructor Detail- 
RestAuthEntryPointpublic RestAuthEntryPoint(com.fasterxml.jackson.databind.ObjectMapper objectMapper, io.swagger.v3.oas.models.OpenAPI openAPI, BuildInfo buildInfo)
 
- 
 - 
Method Detail- 
commencepublic void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException- Specified by:
- commencein interface- org.springframework.security.web.AuthenticationEntryPoint
- Throws:
- IOException
 
 
- 
 
-