Package io.gravitee.am.service.spring
Class JWTConfiguration
java.lang.Object
io.gravitee.am.service.spring.JWTConfiguration
- Author:
- Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JWTBuilderjwtBuilder(Key key, io.gravitee.node.api.configuration.Configuration configuration) protected JWTParserprotected Keykey(io.gravitee.node.api.configuration.Configuration configuration)
-
Constructor Details
-
JWTConfiguration
public JWTConfiguration()
-
-
Method Details
-
key
@Bean("managementSecretKey") protected Key key(io.gravitee.node.api.configuration.Configuration configuration) throws InvalidKeyException - Throws:
InvalidKeyException
-
jwtBuilder
@Bean("managementJwtBuilder") protected JWTBuilder jwtBuilder(@Qualifier("managementSecretKey") Key key, io.gravitee.node.api.configuration.Configuration configuration) throws InvalidKeyException - Throws:
InvalidKeyException
-
jwtParser
@Bean("managementJwtParser") protected JWTParser jwtParser(@Qualifier("managementSecretKey") Key key) throws InvalidKeyException - Throws:
InvalidKeyException
-