Class DelegatingAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.DelegatingAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
@Deprecated(since="1.4",
forRemoval=true)
public final class DelegatingAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Deprecated, for removal: This API element is subject to removal in a future version.
An
AuthenticationConverter that simply delegates to it's internal List
of AuthenticationConverter(s).
Each AuthenticationConverter is given a chance to
AuthenticationConverter.convert(HttpServletRequest) with the first
non-null Authentication being returned.
- Since:
- 0.0.2
- See Also:
-
AuthenticationConverter
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingAuthenticationConverter(List<org.springframework.security.web.authentication.AuthenticationConverter> converters) Deprecated, for removal: This API element is subject to removal in a future version.Constructs aDelegatingAuthenticationConverterusing the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationconvert(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DelegatingAuthenticationConverter
public DelegatingAuthenticationConverter(List<org.springframework.security.web.authentication.AuthenticationConverter> converters) Deprecated, for removal: This API element is subject to removal in a future version.Constructs aDelegatingAuthenticationConverterusing the provided parameters.- Parameters:
converters- aListofAuthenticationConverter(s)
-
-
Method Details
-
convert
@Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
convertin interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-
DelegatingAuthenticationConverter