org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy Java Examples

The following examples show how to use org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SecurityConfig.java    From devconf2019-authz with Apache License 2.0 4 votes vote down vote up
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #2
Source File: PersonApplication.java    From blog with Apache License 2.0 4 votes vote down vote up
/**
 * Provide a session authentication strategy bean which should be of type
 * RegisterSessionAuthenticationStrategy for public or confidential applications
 * and NullAuthenticatedSessionStrategy for bearer-only applications.
 */
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #3
Source File: PersonApplication.java    From blog with Apache License 2.0 4 votes vote down vote up
/**
 * Provide a session authentication strategy bean which should be of type
 * RegisterSessionAuthenticationStrategy for public or confidential applications
 * and NullAuthenticatedSessionStrategy for bearer-only applications.
 */
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #4
Source File: AtlasSecurityConfig.java    From atlas with Apache License 2.0 4 votes vote down vote up
@Bean
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #5
Source File: SecurityConfig.java    From teiid-spring-boot with Apache License 2.0 4 votes vote down vote up
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #6
Source File: SecurityConfig.java    From keycloak-user-migration-provider with Apache License 2.0 4 votes vote down vote up
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}
 
Example #7
Source File: SecurityConfig.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
@Override
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}