@ -189,7 +189,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
@@ -189,7 +189,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
// If we are an authorization server we don't need remote resource token
// services
@ -203,9 +203,11 @@ public class ResourceServerProperties implements BeanFactoryAware {
@@ -203,9 +203,11 @@ public class ResourceServerProperties implements BeanFactoryAware {
if(!StringUtils.hasText(this.clientId)){
return;
}
BindingResultresult=getBindingResult();
if(result.hasErrors()){
thrownewBindException(result);
try{
doValidate();
}
catch(BindExceptionex){
thrownewIllegalStateException(ex);
}
}
@ -214,7 +216,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
@@ -214,7 +216,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
@ -239,7 +241,9 @@ public class ResourceServerProperties implements BeanFactoryAware {
@@ -239,7 +241,9 @@ public class ResourceServerProperties implements BeanFactoryAware {