public class AmbariLocalAuthenticationProvider extends AmbariAuthenticationProvider
AuthenticationProvider
implementation used to authenticate users using username and password details from the local Ambari database.
Users will fail to authenticate, even if they supply the correct credentials if the account is locked out by being disabled or locked due to too many consecutive failure.
Constructor and Description |
---|
AmbariLocalAuthenticationProvider(Users users,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
boolean |
supports(Class<?> authentication) |
getAuthenticationEntities, getAuthenticationEntities, getAuthenticationEntity, getConfiguration, getUsers
@Inject public AmbariLocalAuthenticationProvider(Users users, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, Configuration configuration)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
org.springframework.security.core.AuthenticationException
public boolean supports(Class<?> authentication)
Copyright © 2022 Apache Software Foundation. All rights reserved.