Here are the examples of the java api com.vaadin.connect.VaadinConnectProperties.getVaadinConnectTokenSigningKey() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
18
Source : VaadinConnectOAuthConfiguration.java
with Apache License 2.0
from vaadin
with Apache License 2.0
from vaadin
/**
* Provide the {@link JwtAccessTokenConverter} Bean.
*
* @return the JwtAccessTokenConverter
*/
@Bean
public JwtAccessTokenConverter accessTokenConverter() {
JwtAccessTokenConverter converter = new JwtAccessTokenConverter();
String sigKey = vaadinConnectProperties.getVaadinConnectTokenSigningKey();
if (!sigKey.isEmpty()) {
converter.setSigningKey(sigKey);
}
converter.setJwtClaimsSetVerifier(getJwtClaimsSetVerifier());
return converter;
}