Package io.jans.configapi.service.auth
Class ScopeService
java.lang.Object
io.jans.configapi.service.auth.ScopeService
Responsible for OpenID Connect, OAuth2 and UMA scopes. (Type is defined by
ScopeType.)
- Author:
- Yuriy Zabrovarnyy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addScope
(io.jans.as.persistence.model.Scope scope) baseDn()
List<io.jans.as.persistence.model.Scope>
List<io.jans.configapi.rest.model.CustomScope>
getAllScopesList
(int size) List<io.jans.configapi.rest.model.CustomScope>
getAllScopesList
(int size, String scopeType) List<io.jans.configapi.rest.model.CustomScope>
getAllScopesList
(int size, String scopeType, boolean withAssociatedClients) List<io.jans.configapi.rest.model.CustomScope>
getAssociatedClients
(List<io.jans.configapi.rest.model.CustomScope> scopes) getDnForScope
(String inum) io.jans.as.persistence.model.Scope
io.jans.as.persistence.model.Scope
getScopeByDn
(String dn) io.jans.configapi.rest.model.CustomScope
getScopeByInum
(String inum) io.jans.configapi.rest.model.CustomScope
getScopeByInum
(String inum, boolean withAssociatedClients) io.jans.orm.model.PagedResult<io.jans.configapi.rest.model.CustomScope>
getScopeResult
(io.jans.model.SearchRequest searchRequest, String scopeType, boolean withAssociatedClients) getScopesDn
(List<String> scopeDnList) void
persist
(io.jans.as.persistence.model.Scope scope) void
removeScope
(io.jans.as.persistence.model.Scope scope) List<io.jans.configapi.rest.model.CustomScope>
searchScope
(io.jans.model.SearchRequest searchRequest) List<io.jans.configapi.rest.model.CustomScope>
searchScopes
(String pattern, int sizeLimit) List<io.jans.configapi.rest.model.CustomScope>
searchScopes
(String pattern, int sizeLimit, String scopeType) List<io.jans.configapi.rest.model.CustomScope>
searchScopes
(String pattern, int sizeLimit, String scopeType, boolean withAssociatedClients) List<io.jans.as.persistence.model.Scope>
searchScopesById
(String jsId) List<io.jans.as.persistence.model.Scope>
searchScopesById
(Set<String> scopeIds) void
updateScope
(io.jans.as.persistence.model.Scope scope)
-
Constructor Details
-
ScopeService
public ScopeService()
-
-
Method Details
-
baseDn
-
createDn
-
persist
public void persist(io.jans.as.persistence.model.Scope scope) -
addScope
public void addScope(io.jans.as.persistence.model.Scope scope) -
removeScope
public void removeScope(io.jans.as.persistence.model.Scope scope) -
updateScope
public void updateScope(io.jans.as.persistence.model.Scope scope) -
getScope
-
getScopeByInum
-
getScopeByInum
public io.jans.configapi.rest.model.CustomScope getScopeByInum(String inum, boolean withAssociatedClients) -
getDnForScope
-
searchScopes
-
searchScopesById
-
searchScopesById
-
getScopeByDn
-
searchScopes
-
searchScopes
-
getAllScopesList
-
getAllScopesList
-
getAllScopesList
-
searchScope
public List<io.jans.configapi.rest.model.CustomScope> searchScope(io.jans.model.SearchRequest searchRequest) -
getAllScopesList
-
getDefaultScopesDn
-
getScopesDn
-
getAssociatedClients
-
getScopeResult
public io.jans.orm.model.PagedResult<io.jans.configapi.rest.model.CustomScope> getScopeResult(io.jans.model.SearchRequest searchRequest, String scopeType, boolean withAssociatedClients)
-