public class NullAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
NullAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)
Authenticate.
|
boolean |
supports(Class<?> authentication)
Supports.
|
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.AuthenticationProviderauthentication - the authenticationorg.springframework.security.core.AuthenticationException - the authentication exceptionpublic boolean supports(Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderauthentication - the authenticationCopyright © 2023 Smart-Cloud. All rights reserved.