oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtValidators.java
public static OAuth2TokenValidator<Jwt> createDefaultWithIssuer(String issuer) {
		List<OAuth2TokenValidator<Jwt>> validators = new ArrayList<>();
		validators.add(new JwtTimestampValidator());
		validators.add(new JwtIssuerValidator(issuer));
		return new DelegatingOAuth2TokenValidator<>(validators);
	}
public static OAuth2TokenValidator<Jwt> createDefaultWithIssuer(String issuer) {
		List<OAuth2TokenValidator<Jwt>> validators = new ArrayList<>();
		validators.add(new JwtTimestampValidator());
		validators.add(new JwtIssuerValidator(issuer));
		return new DelegatingOAuth2TokenValidator<>(validators);
	}
public static OAuth2TokenValidator < Jwt > createDefaultWithIssuer ( String issuer ) { List < OAuth2TokenValidator < Jwt >> validators = new ArrayList <> ( ) ; validators . add ( new JwtTimestampValidator ( ) ) ; validators . add ( new JwtIssuerValidator ( issuer ) ) ; return new DelegatingOAuth2TokenValidator <> ( validators ) ; }
<p>
Create a {@link Jwt} Validator that contains all standard validators when an issuer is known.
</p>
<p>
User's wanting to leverage the defaults plus additional validation can add the result of this
method to {@code DelegatingOAuth2TokenValidator} along with the additional validators.
</p>
@param issuer the issuer
@return - a delegating validator containing all standard validators as well as any supplied
<p > Create a {