use of org.springframework.security.context.DelegatingApplicationListener in project spring-security by spring-projects.
the class SessionManagementConfigurer method registerDelegateApplicationListener.
private void registerDelegateApplicationListener(H http, ApplicationListener<?> delegate) {
DelegatingApplicationListener delegating = getBeanOrNull(DelegatingApplicationListener.class);
if (delegating == null) {
return;
}
SmartApplicationListener smartListener = new GenericApplicationListenerAdapter(delegate);
delegating.addListener(smartListener);
}
Aggregations