mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
GET,SCIM
This commit is contained in:
parent
7270a1fc1c
commit
0ad7934768
@ -124,7 +124,7 @@ public class ScimGroupController {
|
||||
new ScimSearchResult<ScimGroup>(
|
||||
resultList,
|
||||
orgResults.getRecords(),
|
||||
requestParameters.getCount(),
|
||||
queryModel.getPageSize(),
|
||||
requestParameters.getStartIndex());
|
||||
return new MappingJacksonValue(scimSearchResult);
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ public class ScimOrganizationController {
|
||||
new ScimSearchResult<ScimOrganization>(
|
||||
resultList,
|
||||
orgResults.getRecords(),
|
||||
requestParameters.getCount(),
|
||||
queryModel.getPageSize(),
|
||||
requestParameters.getStartIndex());
|
||||
|
||||
return new MappingJacksonValue(scimSearchResult);
|
||||
|
||||
@ -129,7 +129,7 @@ public class ScimUserController {
|
||||
new ScimSearchResult<ScimUser>(
|
||||
resultList,
|
||||
orgResults.getRecords(),
|
||||
requestParameters.getCount(),
|
||||
queryModel.getPageSize(),
|
||||
requestParameters.getStartIndex());
|
||||
return new MappingJacksonValue(scimSearchResult);
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -79,7 +79,7 @@ public class TokenEndpoint extends AbstractEndpoint {
|
||||
|
||||
private OAuth2RequestValidator oAuth2RequestValidator = new DefaultOAuth2RequestValidator();
|
||||
|
||||
private Set<HttpMethod> allowedRequestMethods = new HashSet<HttpMethod>(Arrays.asList(HttpMethod.POST));
|
||||
private Set<HttpMethod> allowedRequestMethods = new HashSet<HttpMethod>(Arrays.asList(HttpMethod.POST,HttpMethod.GET));
|
||||
|
||||
/**
|
||||
* must use HTTP POST Method to get token
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user