@Component
public class AuthHandler
extends org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
| Constructor and Description |
|---|
AuthHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthFilter(io.vertx.ext.web.Router router,
String path,
io.vertx.core.http.HttpMethod httpMethod,
String commaSepratedRoles) |
void |
addCorsFilter(io.vertx.core.http.HttpServer httpServer,
io.vertx.core.Vertx vertx) |
protected void |
additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken) |
org.springframework.web.client.RestTemplate |
getRestTemplate() |
protected org.springframework.security.core.userdetails.UserDetails |
retrieveUser(String userName,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken) |
afterPropertiesSet, authenticate, createSuccessAuthentication, doAfterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supportsprotected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken)
throws org.springframework.security.core.AuthenticationException
additionalAuthenticationChecks in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionprotected org.springframework.security.core.userdetails.UserDetails retrieveUser(String userName, org.springframework.security.authentication.UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken) throws org.springframework.security.core.AuthenticationException
retrieveUser in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic org.springframework.web.client.RestTemplate getRestTemplate()
throws NoSuchAlgorithmException,
KeyStoreException,
KeyManagementException
public void addCorsFilter(io.vertx.core.http.HttpServer httpServer,
io.vertx.core.Vertx vertx)
Copyright © 2020. All rights reserved.