Class FlowableJwtResourceServerConfigurer
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<FlowableJwtResourceServerConfigurer,HttpSecurity>
com.flowable.core.spring.security.token.FlowableJwtResourceServerConfigurer
- All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,
HttpSecurity>
public class FlowableJwtResourceServerConfigurer
extends AbstractHttpConfigurer<FlowableJwtResourceServerConfigurer,HttpSecurity>
- Author:
- Filip Hrisafov
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalJwtConfigurer
(String issuer, Customizer<FlowableJwtResourceServerConfigurer.JwtConfigurer> jwtConfigurerCustomizer) void
configure
(HttpSecurity builder) defaultJwt
(Customizer<FlowableJwtResourceServerConfigurer.JwtConfigurer> jwtCustomizer) flowableAccessTokenJwt
(Customizer<FlowableJwtResourceServerConfigurer.AccessTokenJwtConfigurer> accessTokenJwtCustomizer) protected ApplicationContext
void
init
(HttpSecurity http) Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, getSecurityContextHolderStrategy, withObjectPostProcessor
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, getBuilder, postProcess, setBuilder
-
Field Details
-
defaultJwtConfigurer
-
flowableJwtConfigurer
-
additionalJwtConfigurers
-
-
Constructor Details
-
FlowableJwtResourceServerConfigurer
public FlowableJwtResourceServerConfigurer()
-
-
Method Details
-
defaultJwt
public FlowableJwtResourceServerConfigurer defaultJwt(Customizer<FlowableJwtResourceServerConfigurer.JwtConfigurer> jwtCustomizer) -
flowableAccessTokenJwt
public FlowableJwtResourceServerConfigurer flowableAccessTokenJwt(Customizer<FlowableJwtResourceServerConfigurer.AccessTokenJwtConfigurer> accessTokenJwtCustomizer) -
additionalJwtConfigurer
public FlowableJwtResourceServerConfigurer additionalJwtConfigurer(String issuer, Customizer<FlowableJwtResourceServerConfigurer.JwtConfigurer> jwtConfigurerCustomizer) -
init
- Specified by:
init
in interfaceSecurityConfigurer<DefaultSecurityFilterChain,
HttpSecurity> - Overrides:
init
in classSecurityConfigurerAdapter<DefaultSecurityFilterChain,
HttpSecurity> - Throws:
Exception
-
configure
- Specified by:
configure
in interfaceSecurityConfigurer<DefaultSecurityFilterChain,
HttpSecurity> - Overrides:
configure
in classSecurityConfigurerAdapter<DefaultSecurityFilterChain,
HttpSecurity> - Throws:
Exception
-
getContext
-