prevent clients from registering with special resource scope
parent
c34357a433
commit
5ab516de48
|
@ -69,7 +69,8 @@ public class DefaultSystemScopeService implements SystemScopeService {
|
||||||
public boolean apply(String input) {
|
public boolean apply(String input) {
|
||||||
return (input != null &&
|
return (input != null &&
|
||||||
!input.equals(ID_TOKEN_SCOPE) &&
|
!input.equals(ID_TOKEN_SCOPE) &&
|
||||||
!input.equals(REGISTRATION_TOKEN_SCOPE));
|
!input.equals(REGISTRATION_TOKEN_SCOPE) &&
|
||||||
|
!input.equals(RESOURCE_TOKEN_SCOPE));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue