Java 类org.springframework.security.web.server.context.WebSessionSecurityContextRepository 实例源码

项目:Learning-Spring-Boot-2.0-Second-Edition    文件:SecurityConfiguration.java   
@Bean
SecurityWebFilterChain springWebFilterChain() {
    return HttpSecurity.http()
        .securityContextRepository(
            new WebSessionSecurityContextRepository())
        .authorizeExchange()
            .anyExchange().authenticated()
            .and()
        .build();
}
项目:Learning-Spring-Boot-2.0-Second-Edition    文件:SecurityConfiguration.java   
@Bean
SecurityWebFilterChain springWebFilterChain() {
    return HttpSecurity.http()
        .securityContextRepository(new WebSessionSecurityContextRepository())
        .authorizeExchange()
        .anyExchange().authenticated()
        .and()
        .build();
}
项目:Learning-Spring-Boot-2.0-Second-Edition    文件:SecurityConfiguration.java   
@Bean
SecurityWebFilterChain springWebFilterChain() {
    return HttpSecurity.http()
        .securityContextRepository(
            new WebSessionSecurityContextRepository())
        .authorizeExchange()
            .anyExchange().authenticated()
            .and()
        .build();
}
项目:Learning-Spring-Boot-2.0-Second-Edition    文件:SecurityConfiguration.java   
@Bean
SecurityWebFilterChain springWebFilterChain() {
    return HttpSecurity.http()
        .securityContextRepository(new WebSessionSecurityContextRepository())
        .authorizeExchange()
        .anyExchange().authenticated()
        .and()
        .build();
}
项目:item-shop-reactive-backend    文件:AuthenticationWebFilter.java   
public void setSecurityContextRepository(WebSessionSecurityContextRepository securityContextRepository) {
    this.securityContextRepository = securityContextRepository;
}
项目:spring-security-reactive    文件:AuthenticationWebFilter.java   
public void setSecurityContextRepository(WebSessionSecurityContextRepository securityContextRepository) {
    this.securityContextRepository = securityContextRepository;
}