public class KeycloakAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
KeycloakAuthenticationToken.| Constructor and Description |
|---|
KeycloakAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
void |
setGrantedAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper) |
boolean |
supports(Class<?> aClass) |
public void setGrantedAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> aClass)
supports in interface org.springframework.security.authentication.AuthenticationProviderCopyright © 2019 JBoss by Red Hat. All rights reserved.