T - supported authentication type.public abstract class AbstractRemoteAuthenticationProvider<T extends org.springframework.security.core.Authentication> extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
AbstractRemoteAuthenticationProvider(Class<T> authClass,
String authWsPath,
RemoteAuthClient remoteAuthClient) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
abstract org.springframework.http.HttpHeaders |
createHttpHeaders(org.springframework.security.core.Authentication authentication) |
boolean |
supports(Class<?> authentication) |
public AbstractRemoteAuthenticationProvider(Class<T> authClass, String authWsPath, RemoteAuthClient remoteAuthClient)
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<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderpublic abstract org.springframework.http.HttpHeaders createHttpHeaders(org.springframework.security.core.Authentication authentication)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.