Class JwtAuthConfiguration


  • public class JwtAuthConfiguration
    extends Object
    Configuration for the JWT service.
    • Constructor Detail

      • JwtAuthConfiguration

        public JwtAuthConfiguration()
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Get whether basic authentication has been enabled.
        Returns:
        true if basic auth is enabled; false otherwise
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable or disable basic authentication.
        Parameters:
        enabled - true if basic auth is enabled; false otherwise
      • getKey

        public String getKey()
        Get the base64-encoded JWT key.
        Returns:
        the key
      • setKey

        public void setKey​(String key)
        Set the base64-encoded JWT key.
        Parameters:
        key - the key
      • setKeyStore

        public void setKeyStore​(String keyStore)
        Set the keystore location.
        Parameters:
        keyStore - the keystore location
      • getKeyStore

        public String getKeyStore()
        Get the keystore location.
        Returns:
        the keystore location
      • setKeyStorePassword

        public void setKeyStorePassword​(String keyStorePassword)
        Set the keystore password.
        Parameters:
        keyStorePassword - the password
      • getKeyStorePassword

        public String getKeyStorePassword()
        Get the keystore password.
        Returns:
        the keystore password
      • setKeyIds

        public void setKeyIds​(List<String> ids)
        Set the key ids.
        Parameters:
        ids - the key ids
      • getKeyIds

        public List<String> getKeyIds()
        Get the key ids.
        Returns:
        the key ids
      • getJwks

        public String getJwks()
        Get the JWKS location.
        Returns:
        the location of a JWKS document
      • setJwks

        public void setJwks​(String jwks)
        Set the jwks location.
        Parameters:
        jwks - the location of a JWKS document