Class AuthTokenServiceConfig


  • public class AuthTokenServiceConfig
    extends Object
    • Constructor Detail

      • AuthTokenServiceConfig

        public AuthTokenServiceConfig()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • getJwtSigningKey

        public org.apache.cxf.rs.security.jose.jwk.JsonWebKey getJwtSigningKey()
      • getJwtEncryptionKey

        public org.apache.cxf.rs.security.jose.jwk.JsonWebKey getJwtEncryptionKey()
      • getJwtAud

        public String getJwtAud()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • setJwtSigningKey

        public void setJwtSigningKey​(org.apache.cxf.rs.security.jose.jwk.JsonWebKey jwtSigningKey)
      • setJwtEncryptionKey

        public void setJwtEncryptionKey​(org.apache.cxf.rs.security.jose.jwk.JsonWebKey jwtEncryptionKey)
      • setJwtAud

        public void setJwtAud​(String jwtAud)
      • setMaxValidity

        public void setMaxValidity​(TemporalAmount maxValidity)
      • getExcludeClusterPermissions

        public List<String> getExcludeClusterPermissions()
      • setExcludeClusterPermissions

        public void setExcludeClusterPermissions​(List<String> excludeClusterPermissions)
      • parse

        public static AuthTokenServiceConfig parse​(com.fasterxml.jackson.databind.JsonNode jsonNode)
                                            throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • parseYaml

        public static AuthTokenServiceConfig parseYaml​(String yaml)
                                                throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • getMaxTokensPerUser

        public int getMaxTokensPerUser()
      • setMaxTokensPerUser

        public void setMaxTokensPerUser​(int maxTokensPerUser)