Class JwtVerifier

java.lang.Object
org.frankframework.management.security.JwtVerifier

public class JwtVerifier extends Object
  • Constructor Details

    • JwtVerifier

      public JwtVerifier(Supplier<String> supply)
    • JwtVerifier

      public JwtVerifier(byte[] secret)
      Validate the target JWT with a provided SECRET.
    • JwtVerifier

      public JwtVerifier(URL url) throws com.nimbusds.jose.KeySourceException
      Throws:
      com.nimbusds.jose.KeySourceException
  • Method Details

    • verify

      public final @NonNull org.springframework.security.core.Authentication verify(String jwt) throws IOException
      Validate and convert the given JWT to a Spring Authenticaiton object.
      Throws:
      IOException