Class StaticJwksSignatureConfigurationProperties
- java.lang.Object
-
- io.micronaut.security.token.jwt.signature.jwks.StaticJwksSignatureConfigurationProperties
-
- All Implemented Interfaces:
StaticJwksSignatureConfiguration
@EachProperty("micronaut.security.token.jwt.signatures.jwks-static") public class StaticJwksSignatureConfigurationProperties extends java.lang.Object implements StaticJwksSignatureConfigurationCreates a bean of typeStaticJwksSignatureConfigurationper `micronaut.security.token.jwt.signatures.jwks-static.*`.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIX
-
Constructor Summary
Constructors Constructor Description StaticJwksSignatureConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPath()A path either starting with `classpath:` or `file:`.voidsetPath(java.lang.String path)A path either starting with `classpath:` or `file:`.
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
@NonNull public java.lang.String getPath()
Description copied from interface:StaticJwksSignatureConfigurationA path either starting with `classpath:` or `file:`. You can serve a JSON JWKS from anywhere on disk or the classpath. For example to serve static resources from `src/main/resources/security/jwks.json`, you would use `classpath:security/jwks.json` as the path.- Specified by:
getPathin interfaceStaticJwksSignatureConfiguration- Returns:
- A path either starting with `classpath:` or `file:`.
-
setPath
public void setPath(@NonNull java.lang.String path)A path either starting with `classpath:` or `file:`. You can serve a JSON JWKS from anywhere on disk or the classpath. For example to serve static resources from `src/main/resources/security/jwks.json`, you would use `classpath:security/jwks.json` as the path.- Parameters:
path- A path either starting with `classpath:` or `file:`. You can serve a JSON JWKS from anywhere on disk or the classpath.
-
-