Class CamundaSpringSecurityOAuth2AutoConfiguration
java.lang.Object
org.camunda.bpm.spring.boot.starter.security.oauth2.CamundaSpringSecurityOAuth2AutoConfiguration
@AutoConfigureOrder(-2147483548)
@AutoConfigureAfter({CamundaBpmAutoConfiguration.class,SpringProcessEngineServicesConfiguration.class})
@ConditionalOnBean(CamundaBpmProperties.class)
@Conditional(org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition.class)
@EnableConfigurationProperties(OAuth2Properties.class)
public class CamundaSpringSecurityOAuth2AutoConfiguration
extends Object
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCamundaSpringSecurityOAuth2AutoConfiguration
(CamundaBpmProperties properties, OAuth2Properties oAuth2Properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected AuthorizeTokenFilter
authorizeTokenFilter
(org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager clientManager) org.springframework.security.web.SecurityFilterChain
filterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http, AuthorizeTokenFilter authorizeTokenFilter, SsoLogoutSuccessHandler ssoLogoutSuccessHandler) protected org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper
protected SsoLogoutSuccessHandler
ssoLogoutSuccessHandler
(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository) org.springframework.boot.web.servlet.FilterRegistrationBean<?>
-
Field Details
-
CAMUNDA_OAUTH2_ORDER
public static final int CAMUNDA_OAUTH2_ORDER- See Also:
-
-
Constructor Details
-
CamundaSpringSecurityOAuth2AutoConfiguration
public CamundaSpringSecurityOAuth2AutoConfiguration(CamundaBpmProperties properties, OAuth2Properties oAuth2Properties)
-
-
Method Details
-
webappAuthenticationFilter
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<?> webappAuthenticationFilter() -
identityProviderPlugin
@Bean @ConditionalOnProperty(name="identity-provider.enabled", havingValue="true", prefix="camunda.bpm.oauth2", matchIfMissing=true) public OAuth2IdentityProviderPlugin identityProviderPlugin() -
grantedAuthoritiesMapper
@Bean @ConditionalOnProperty(name="identity-provider.group-name-attribute", prefix="camunda.bpm.oauth2") protected org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper() -
ssoLogoutSuccessHandler
@Bean @ConditionalOnProperty(name="sso-logout.enabled", havingValue="true", prefix="camunda.bpm.oauth2") protected SsoLogoutSuccessHandler ssoLogoutSuccessHandler(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository) -
authorizeTokenFilter
@Bean protected AuthorizeTokenFilter authorizeTokenFilter(org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager clientManager) -
filterChain
@Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, AuthorizeTokenFilter authorizeTokenFilter, @Nullable SsoLogoutSuccessHandler ssoLogoutSuccessHandler) throws Exception - Throws:
Exception
-