Class AuthenticationManagerBeanDefinitionParser.NullAuthenticationProvider
- java.lang.Object
-
- org.springframework.security.config.authentication.AuthenticationManagerBeanDefinitionParser.NullAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
- Enclosing class:
- AuthenticationManagerBeanDefinitionParser
public static final class AuthenticationManagerBeanDefinitionParser.NullAuthenticationProvider extends java.lang.Object implements org.springframework.security.authentication.AuthenticationProvider
Provider which doesn't provide any service. Only used to prevent a configuration exception if the provider list is empty (usually because a child ProviderManager from the <http> namespace, such as OpenID, is expected to handle the request).
-
-
Constructor Summary
Constructors Constructor Description NullAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
boolean
supports(java.lang.Class<?> authentication)
-
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
public boolean supports(java.lang.Class<?> authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-