@Service(value="defaultSystemScopeService") public class DefaultSystemScopeService extends Object implements SystemScopeService
OFFLINE_ACCESS, OPENID_SCOPE, REGISTRATION_TOKEN_SCOPE, reservedScopes, RESOURCE_TOKEN_SCOPE, UMA_AUTHORIZATION_SCOPE, UMA_PROTECTION_SCOPE| Constructor and Description |
|---|
DefaultSystemScopeService() |
| Modifier and Type | Method and Description |
|---|---|
Set<SystemScope> |
fromStrings(Set<String> scope) |
Set<SystemScope> |
getAll() |
SystemScope |
getById(Long id) |
SystemScope |
getByValue(String value) |
Set<SystemScope> |
getDefaults() |
Set<SystemScope> |
getReserved() |
Set<SystemScope> |
getRestricted() |
Set<SystemScope> |
getUnrestricted() |
void |
remove(SystemScope scope) |
Set<SystemScope> |
removeReservedScopes(Set<SystemScope> scopes) |
Set<SystemScope> |
removeRestrictedAndReservedScopes(Set<SystemScope> scopes) |
SystemScope |
save(SystemScope scope) |
boolean |
scopesMatch(Set<String> expected,
Set<String> actual) |
Set<String> |
toStrings(Set<SystemScope> scope) |
public DefaultSystemScopeService()
public Set<SystemScope> getAll()
getAll in interface SystemScopeServicepublic SystemScope getById(Long id)
getById in interface SystemScopeServicepublic SystemScope getByValue(String value)
getByValue in interface SystemScopeServicepublic void remove(SystemScope scope)
remove in interface SystemScopeServicepublic SystemScope save(SystemScope scope)
save in interface SystemScopeServicepublic Set<SystemScope> fromStrings(Set<String> scope)
fromStrings in interface SystemScopeServicepublic Set<String> toStrings(Set<SystemScope> scope)
toStrings in interface SystemScopeServicepublic boolean scopesMatch(Set<String> expected, Set<String> actual)
scopesMatch in interface SystemScopeServicepublic Set<SystemScope> getDefaults()
getDefaults in interface SystemScopeServicepublic Set<SystemScope> getReserved()
getReserved in interface SystemScopeServicepublic Set<SystemScope> getRestricted()
getRestricted in interface SystemScopeServicepublic Set<SystemScope> getUnrestricted()
getUnrestricted in interface SystemScopeServicepublic Set<SystemScope> removeRestrictedAndReservedScopes(Set<SystemScope> scopes)
removeRestrictedAndReservedScopes in interface SystemScopeServicepublic Set<SystemScope> removeReservedScopes(Set<SystemScope> scopes)
removeReservedScopes in interface SystemScopeServiceCopyright © 2022. All rights reserved.