116 List<String> allAllowed =
new LinkedList<>();
119 List<String> allowedScopesConfig =
componentModel.
getConfig().getList(ClientScopesClientRegistrationPolicyFactory.ALLOWED_CLIENT_SCOPES);
120 if (allowedScopesConfig != null) {
121 allAllowed.addAll(allowedScopesConfig);
125 boolean allowDefaultScopes =
componentModel.
get(ClientScopesClientRegistrationPolicyFactory.ALLOW_DEFAULT_SCOPES,
true);
126 if (allowDefaultScopes) {
129 return clientScope.getName();
131 }).collect(Collectors.toList());
133 allAllowed.addAll(scopeNames);
final RealmModel realm
Definition: ClientScopesClientRegistrationPolicy.java:43
MultivaluedHashMap< String, String > getConfig()
Definition: ComponentModel.java:71
List< ClientScopeModel > getDefaultClientScopes(boolean defaultScope)
final ComponentModel componentModel
Definition: ClientScopesClientRegistrationPolicy.java:44
String get(String key)
Definition: ComponentModel.java:83