@ -277,11 +277,11 @@ public final class OAuth2TokenIntrospection implements OAuth2TokenIntrospectionC
@@ -277,11 +277,11 @@ public final class OAuth2TokenIntrospection implements OAuth2TokenIntrospectionC
*@returnthe{@linkOAuth2TokenIntrospection}
*/
publicOAuth2TokenIntrospectionbuild(){
validateClaims();
validate();
returnnewOAuth2TokenIntrospection(this.claims);
}
privatevoidvalidateClaims(){
privatevoidvalidate(){
Assert.notNull(this.claims.get(OAuth2TokenIntrospectionClaimNames.ACTIVE),"active cannot be null");
Assert.isInstanceOf(Boolean.class,this.claims.get(OAuth2TokenIntrospectionClaimNames.ACTIVE),"active must be of type boolean");