public abstract class AmbariAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
This class contains common methods that may be used by authentication providers.
| Modifier | Constructor and Description |
|---|---|
protected |
AmbariAuthenticationProvider(Users users,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<UserAuthenticationEntity> |
getAuthenticationEntities(UserAuthenticationType type,
String key)
Finds the specific set of
UserAuthenticationEntity instances from the collection of
authentication methods available to the specified UserEntity. |
protected Collection<UserAuthenticationEntity> |
getAuthenticationEntities(UserEntity userEntity,
UserAuthenticationType type)
Finds the specific set of
UserAuthenticationEntity instances from the collection of
authentication methods available to the specified UserEntity. |
protected UserAuthenticationEntity |
getAuthenticationEntity(UserEntity userEntity,
UserAuthenticationType type)
Finds the specific
UserAuthenticationEntity from the collection of authentication methods
available to the specified UserEntity. |
protected Configuration |
getConfiguration() |
protected Users |
getUsers() |
protected AmbariAuthenticationProvider(Users users, Configuration configuration)
protected UserAuthenticationEntity getAuthenticationEntity(UserEntity userEntity, UserAuthenticationType type)
UserAuthenticationEntity from the collection of authentication methods
available to the specified UserEntity.userEntity - a UserEntitytype - the UserAuthenticationType to retrieveUserAuthenticationEntity if found; otherwise nullprotected Collection<UserAuthenticationEntity> getAuthenticationEntities(UserEntity userEntity, UserAuthenticationType type)
UserAuthenticationEntity instances from the collection of
authentication methods available to the specified UserEntity.userEntity - a UserEntitytype - the UserAuthenticationType to retrieveUserAuthenticationEntity if found; otherwise nullprotected Collection<UserAuthenticationEntity> getAuthenticationEntities(UserAuthenticationType type, String key)
UserAuthenticationEntity instances from the collection of
authentication methods available to the specified UserEntity.type - the UserAuthenticationType to retrievekey - the key to match onUserAuthenticationEntity if found; otherwise nullprotected Users getUsers()
protected Configuration getConfiguration()
Copyright © 2022 Apache Software Foundation. All rights reserved.