Search in sources :

Example 1 with ReactorContextWebFilter

use of org.springframework.security.web.server.context.ReactorContextWebFilter in project spring-security by spring-projects.

the class ServerHttpSecurity method securityContextRepositoryWebFilter.

private WebFilter securityContextRepositoryWebFilter() {
    ServerSecurityContextRepository repository = (this.securityContextRepository != null) ? this.securityContextRepository : new WebSessionServerSecurityContextRepository();
    WebFilter result = new ReactorContextWebFilter(repository);
    return new OrderedWebFilter(result, SecurityWebFiltersOrder.REACTOR_CONTEXT.getOrder());
}
Also used : HttpsRedirectWebFilter(org.springframework.security.web.server.transport.HttpsRedirectWebFilter) ExchangeMatcherRedirectWebFilter(org.springframework.security.web.server.ExchangeMatcherRedirectWebFilter) LogoutWebFilter(org.springframework.security.web.server.authentication.logout.LogoutWebFilter) WebFilter(org.springframework.web.server.WebFilter) ServerRequestCacheWebFilter(org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter) CorsWebFilter(org.springframework.web.cors.reactive.CorsWebFilter) ReactorContextWebFilter(org.springframework.security.web.server.context.ReactorContextWebFilter) LogoutPageGeneratingWebFilter(org.springframework.security.web.server.ui.LogoutPageGeneratingWebFilter) OAuth2AuthorizationCodeGrantWebFilter(org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter) OAuth2AuthorizationRequestRedirectWebFilter(org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter) AnonymousAuthenticationWebFilter(org.springframework.security.web.server.authentication.AnonymousAuthenticationWebFilter) AuthorizationWebFilter(org.springframework.security.web.server.authorization.AuthorizationWebFilter) HttpHeaderWriterWebFilter(org.springframework.security.web.server.header.HttpHeaderWriterWebFilter) SecurityContextServerWebExchangeWebFilter(org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter) OAuth2LoginAuthenticationWebFilter(org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter) LoginPageGeneratingWebFilter(org.springframework.security.web.server.ui.LoginPageGeneratingWebFilter) CsrfWebFilter(org.springframework.security.web.server.csrf.CsrfWebFilter) AuthenticationWebFilter(org.springframework.security.web.server.authentication.AuthenticationWebFilter) ExceptionTranslationWebFilter(org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter) WebSessionServerSecurityContextRepository(org.springframework.security.web.server.context.WebSessionServerSecurityContextRepository) WebSessionServerSecurityContextRepository(org.springframework.security.web.server.context.WebSessionServerSecurityContextRepository) NoOpServerSecurityContextRepository(org.springframework.security.web.server.context.NoOpServerSecurityContextRepository) ServerSecurityContextRepository(org.springframework.security.web.server.context.ServerSecurityContextRepository) ReactorContextWebFilter(org.springframework.security.web.server.context.ReactorContextWebFilter)

Aggregations

OAuth2AuthorizationCodeGrantWebFilter (org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter)1 OAuth2AuthorizationRequestRedirectWebFilter (org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter)1 OAuth2LoginAuthenticationWebFilter (org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter)1 ExchangeMatcherRedirectWebFilter (org.springframework.security.web.server.ExchangeMatcherRedirectWebFilter)1 AnonymousAuthenticationWebFilter (org.springframework.security.web.server.authentication.AnonymousAuthenticationWebFilter)1 AuthenticationWebFilter (org.springframework.security.web.server.authentication.AuthenticationWebFilter)1 LogoutWebFilter (org.springframework.security.web.server.authentication.logout.LogoutWebFilter)1 AuthorizationWebFilter (org.springframework.security.web.server.authorization.AuthorizationWebFilter)1 ExceptionTranslationWebFilter (org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter)1 NoOpServerSecurityContextRepository (org.springframework.security.web.server.context.NoOpServerSecurityContextRepository)1 ReactorContextWebFilter (org.springframework.security.web.server.context.ReactorContextWebFilter)1 SecurityContextServerWebExchangeWebFilter (org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter)1 ServerSecurityContextRepository (org.springframework.security.web.server.context.ServerSecurityContextRepository)1 WebSessionServerSecurityContextRepository (org.springframework.security.web.server.context.WebSessionServerSecurityContextRepository)1 CsrfWebFilter (org.springframework.security.web.server.csrf.CsrfWebFilter)1 HttpHeaderWriterWebFilter (org.springframework.security.web.server.header.HttpHeaderWriterWebFilter)1 ServerRequestCacheWebFilter (org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter)1 HttpsRedirectWebFilter (org.springframework.security.web.server.transport.HttpsRedirectWebFilter)1 LoginPageGeneratingWebFilter (org.springframework.security.web.server.ui.LoginPageGeneratingWebFilter)1 LogoutPageGeneratingWebFilter (org.springframework.security.web.server.ui.LogoutPageGeneratingWebFilter)1