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 Object implements StaticJwksSignatureConfiguration
Creates a bean of type StaticJwksSignatureConfiguration per `micronaut.security.token.jwt.signatures.jwks-static.*`.
  • Field Details

  • Constructor Details

    • StaticJwksSignatureConfigurationProperties

      public StaticJwksSignatureConfigurationProperties()
  • Method Details

    • getPath

      @NonNull public @NonNull String getPath()
      Description copied from interface: StaticJwksSignatureConfiguration
      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.
      Specified by:
      getPath in interface StaticJwksSignatureConfiguration
      Returns:
      A path either starting with `classpath:` or `file:`.
    • setPath

      public void setPath(@NonNull @NonNull 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.