KEYCLOAK-17760 deprecate ScopeMappedResource.getScopeMappings()

This commit is contained in:
vramik 2021-05-13 10:52:05 +02:00 committed by Hynek Mlnařík
parent 919899b994
commit d78d4a8d47

View file

@ -85,10 +85,12 @@ public class ScopeMappedResource {
* Get all scope mappings for the client
*
* @return
* @deprecated the method is not used neither from admin console or from admin client. It may be removed in future releases.
*/
@GET
@Produces(MediaType.APPLICATION_JSON)
@NoCache
@Deprecated
public MappingsRepresentation getScopeMappings() {
viewPermission.require();