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