com.vaadin.flow.spring.security.stateless.
Class VaadinStatelessSecurityConfigurer.SecretKeyConfigurer
Enclosing class:
VaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
Enables configuring the secret key and the algorithm for the JWT signing
and verification when using VaadinStatelessSecurityConfigurer
.
-
Method Summary
Modifier and TypeMethodDescriptionalgorithm
(org.springframework.security.oauth2.jose.jws.MacAlgorithm algorithm) Sets the signature algorithm.
and()
Return to the
VaadinStatelessSecurityConfigurer
when done using theVaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for method chaining.Sets the secret key.
-
Method Details
-
secretKey
Sets the secret key.
Parameters:
secretKey
- the secret keyReturns:
the
VaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for further customization -
algorithm
public VaadinStatelessSecurityConfigurer<H>.SecretKeyConfigurer algorithm(org.springframework.security.oauth2.jose.jws.MacAlgorithm algorithm) Sets the signature algorithm.
Parameters:
algorithm
- the algorithmReturns:
the
VaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for further customization -
and
Return to the
VaadinStatelessSecurityConfigurer
when done using theVaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for method chaining.Returns:
the
VaadinStatelessSecurityConfigurer
for further customization
-