Package io.jans.configapi.service.auth
Class ScopeService
- java.lang.Object
-
- io.jans.configapi.service.auth.ScopeService
-
@ApplicationScoped public class ScopeService extends Object
Responsible for OpenID Connect, OAuth2 and UMA scopes. (Type is defined by ScopeType.)- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description ScopeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addScope(io.jans.as.persistence.model.Scope scope)
String
baseDn()
String
createDn(String inum)
List<io.jans.as.persistence.model.Scope>
getAllScopesList(int size)
List<io.jans.as.persistence.model.Scope>
getAllScopesList(int size, String scopeType)
String
getDnForScope(String inum)
io.jans.as.persistence.model.Scope
getScopeByDn(String dn)
io.jans.as.persistence.model.Scope
getScopeByInum(String inum)
void
persist(io.jans.as.persistence.model.Scope scope)
void
removeScope(io.jans.as.persistence.model.Scope scope)
List<io.jans.as.persistence.model.Scope>
searchScopes(String pattern, int sizeLimit)
List<io.jans.as.persistence.model.Scope>
searchScopes(String pattern, int sizeLimit, String scopeType)
List<io.jans.as.persistence.model.Scope>
searchScopesById(String jsId)
void
updateScope(io.jans.as.persistence.model.Scope scope)
-
-
-
Method Detail
-
baseDn
public String baseDn()
-
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)
-
getScopeByInum
public io.jans.as.persistence.model.Scope getScopeByInum(String inum)
-
searchScopes
public List<io.jans.as.persistence.model.Scope> searchScopes(String pattern, int sizeLimit)
-
getScopeByDn
public io.jans.as.persistence.model.Scope getScopeByDn(String dn)
-
searchScopes
public List<io.jans.as.persistence.model.Scope> searchScopes(String pattern, int sizeLimit, String scopeType)
-
getAllScopesList
public List<io.jans.as.persistence.model.Scope> getAllScopesList(int size)
-
-