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
AmbariConfigurationEntity s. |
ambariConfigurationChanged, get, jpaInitialized, toProperties
@Inject public JwtAuthenticationPropertiesProvider(AmbariEventPublisher ambariEventPublisher, AmbariJpaPersistService ambariJpaPersistService)
protected JwtAuthenticationProperties loadInstance(Collection<AmbariConfigurationEntity> configurationEntities)
AmbariConfigurationEntity
s.loadInstance
in class AmbariServerConfigurationProvider<JwtAuthenticationProperties>
configurationEntities
- a list of AmbariConfigurationEntity
sJwtAuthenticationProperties
Copyright © 2022 Apache Software Foundation. All rights reserved.