Class JwtTokenService

java.lang.Object
com.loomcache.springboot.security.JwtTokenService

@Service @ConditionalOnProperty(prefix="loomcache.security.jwt", name="enabled", havingValue="true") public class JwtTokenService extends Object
Issues short-lived HMAC-signed JWTs for authenticated REST principals.
  • Constructor Details

  • Method Details

    • issue

      public TokenResponse issue(org.springframework.security.core.Authentication authentication)
    • issue

      public TokenResponse issue(org.springframework.security.core.Authentication authentication, X509Certificate clientCertificate)
    • authenticate

      public org.springframework.security.core.Authentication authenticate(String accessToken)
    • authenticate

      public org.springframework.security.core.Authentication authenticate(String accessToken, X509Certificate[] clientCertificates)
    • revoke

      public void revoke(String accessToken)