Uses of Class
org.wildfly.security.auth.realm.token.validator.JwtValidator.Builder
Packages that use JwtValidator.Builder
Package
Description
Classes related to the different
TokenValidator implementations provided by Elytron.-
Uses of JwtValidator.Builder in org.wildfly.security.auth.realm.token.validator
Methods in org.wildfly.security.auth.realm.token.validator that return JwtValidator.BuilderModifier and TypeMethodDescriptionDefines one or more string values representing the audiences supported by this configuration.static JwtValidator.BuilderJwtValidator.builder()Returns aJwtValidator.Builderinstance that can be used to configure and create aJwtValidator.JwtValidator.Builder.connectionTimeout(int connectionTimeout) Sets the connection timeout to a specified timeout, in milliseconds.Defines one or more string values representing an unique identifier for the entities that are allowed as issuers of a given JWT.JwtValidator.Builder.publicKey(byte[] publicKeyPem) A default public key in its PEM format used to validate the signature of tokens withoutkidheader parameter.A defaultPublicKeyformat used to validate the signature of tokens withoutkidheader parameter.JwtValidator.Builder.publicKeys(Map<String, PublicKey> namedKeys) JwtValidator.Builder.readTimeout(int readTimeout) Sets the read timeout to a specified timeout, in milliseconds.JwtValidator.Builder.setAllowedJkuValues(String... allowedJkuValues) One or more string values representing the jku values that are supported by this configuration.JwtValidator.Builder.setJkuMinTimeBetweenRequests(int minTimeBetweenRequests) The time in which there will be no more requests to retrieve the keys from the jkws URL.JwtValidator.Builder.setJkuTimeout(long timeout) A timeout for cached jwks when using jku claim.JwtValidator.Builder.useSslContext(SSLContext sslContext) A predefinedSSLContextthat will be used to connect to the jku endpoint when retrieving remote keys.JwtValidator.Builder.useSslHostnameVerifier(HostnameVerifier hostnameVerifier) AHostnameVerifierthat will be used to validate the hostname when using SSL/TLS.