public class JwtAuthenticationPropertiesProvider extends AmbariServerConfigurationProvider<JwtAuthenticationProperties>
JwtAuthenticationProperties instance by
lazily loading the properties if needed and refreshing the properties if updates are made to the
sso-configuration category of the Ambari configuration data.
The JwtAuthenticationProperties are updated upon events received from the AmbariEventPublisher.
| Constructor and Description |
|---|
JwtAuthenticationPropertiesProvider(AmbariEventPublisher ambariEventPublisher,
AmbariJpaPersistService ambariJpaPersistService) |
| Modifier and Type | Method and Description |
|---|---|
protected JwtAuthenticationProperties |
loadInstance(Collection<AmbariConfigurationEntity> configurationEntities)
Creates a JwtAuthenticationProperties from a list of
AmbariConfigurationEntitys. |
ambariConfigurationChanged, get, jpaInitialized, toProperties@Inject public JwtAuthenticationPropertiesProvider(AmbariEventPublisher ambariEventPublisher, AmbariJpaPersistService ambariJpaPersistService)
protected JwtAuthenticationProperties loadInstance(Collection<AmbariConfigurationEntity> configurationEntities)
AmbariConfigurationEntitys.loadInstance in class AmbariServerConfigurationProvider<JwtAuthenticationProperties>configurationEntities - a list of AmbariConfigurationEntitysJwtAuthenticationPropertiesCopyright © 2022 Apache Software Foundation. All rights reserved.