Java 类org.springframework.security.authentication.AuthenticationEventPublisher 实例源码

项目:credhub    文件:OAuth2ExtraValidationFilter.java   
@Autowired
OAuth2ExtraValidationFilter(
    OAuth2IssuerService oAuth2IssuerService,
    TokenStore tokenStore,
    AuditOAuth2AuthenticationExceptionHandler oAuth2AuthenticationExceptionHandler,
    MessageSourceAccessor messageSourceAccessor,
    AuthenticationEventPublisher eventPublisher
) {
  this.oAuth2IssuerService = oAuth2IssuerService;
  this.tokenStore = tokenStore;
  this.oAuth2AuthenticationExceptionHandler = oAuth2AuthenticationExceptionHandler;
  this.eventPublisher = eventPublisher;
  this.tokenExtractor = new BearerTokenExtractor();
  this.messageSourceAccessor = messageSourceAccessor;
}
项目:graviteeio-access-management    文件:CustomTokenGranter.java   
public void setAuthenticationEventPublisher(AuthenticationEventPublisher eventPublisher) {
    Assert.notNull(eventPublisher, "AuthenticationEventPublisher cannot be null");
    this.eventPublisher = eventPublisher;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SecurityAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(AuthenticationEventPublisher.class)
public DefaultAuthenticationEventPublisher authenticationEventPublisher(
        ApplicationEventPublisher publisher) {
    return new DefaultAuthenticationEventPublisher(publisher);
}
项目:spring-boot-concourse    文件:SecurityAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(AuthenticationEventPublisher.class)
public DefaultAuthenticationEventPublisher authenticationEventPublisher(
        ApplicationEventPublisher publisher) {
    return new DefaultAuthenticationEventPublisher(publisher);
}
项目:contestparser    文件:SecurityAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(AuthenticationEventPublisher.class)
public DefaultAuthenticationEventPublisher authenticationEventPublisher(
        ApplicationEventPublisher publisher) {
    return new DefaultAuthenticationEventPublisher(publisher);
}