refactored binder into two parts
parent
be54696603
commit
72c125ba64
|
@ -40,8 +40,12 @@ public class ClientDynamicRegistrationEndpoint {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ClientDetailsEntityService clientService;
|
private ClientDetailsEntityService clientService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bind utility data types to their classes
|
||||||
|
* @param binder
|
||||||
|
*/
|
||||||
@InitBinder
|
@InitBinder
|
||||||
public void initBinder(WebDataBinder binder) {
|
public void utilityDataInitBinder(WebDataBinder binder) {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Application type
|
* Application type
|
||||||
|
@ -144,7 +148,14 @@ public class ClientDynamicRegistrationEndpoint {
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bind a space-separated string to a Set<String>
|
||||||
|
* @param binder
|
||||||
|
*/
|
||||||
|
@InitBinder({"contacts", "redirect_uris"})
|
||||||
|
public void stringSetInitbinder(WebDataBinder binder) {
|
||||||
/*
|
/*
|
||||||
* Space-separated set of strings
|
* Space-separated set of strings
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue