Class VaadinStatelessSecurityConfigurer.SecretKeyConfigurer
java.lang.Object
com.vaadin.flow.spring.security.stateless.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 theVaadinStatelessSecurityConfigurer
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 key- Returns:
- 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 algorithm- Returns:
- the
VaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for further customization
-
and
Return to theVaadinStatelessSecurityConfigurer
when done using theVaadinStatelessSecurityConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>.SecretKeyConfigurer
for method chaining.- Returns:
- the
VaadinStatelessSecurityConfigurer
for further customization
-