Class BasicExpiringJWTSharedSecretCredentialFactoryBean

All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<ExpiringJWKCredential>, InitializingBean

public class BasicExpiringJWTSharedSecretCredentialFactoryBean extends AbstractCredentialFactoryBean<ExpiringJWKCredential>
A factory bean for creating a BasicExpiringJWKCredential from an injected secret.
Since:
2.2.0
  • Field Details

    • secret

      @Nullable private String secret
      The secret to use when creating a BasicJWKCredential.
    • jcaAlg

      @Nullable private String jcaAlg
      The JCA algorithm to set on the SecretKey. Defaults to AES.
    • alg

      @Nullable private Algorithm alg
      The key management algorithm ('alg') this credential supports.
    • credentialExpiresAt

      @Nonnull private Duration credentialExpiresAt
      When the credential expires in seconds since 1970-01-01T0:0:0Z. 0 seconds represents no expiry. Defaults to 0.
  • Constructor Details

    • BasicExpiringJWTSharedSecretCredentialFactoryBean

      public BasicExpiringJWTSharedSecretCredentialFactoryBean()
      Constructor.
  • Method Details