Package io.jans.as.server.uma.service
Class UmaScopeService
- java.lang.Object
-
- io.jans.as.server.uma.service.UmaScopeService
-
@Named("umaScopeService") public class UmaScopeService extends Object
- Version:
- 0.9, 22/04/2013
- Author:
- Yuriy Zabrovarnyy, Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description UmaScopeService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
asString(Collection<io.jans.as.persistence.model.Scope> scopes)
String
baseDn()
io.jans.as.persistence.model.Scope
getOrCreate(io.jans.as.common.model.registration.Client client, String scopeId, Set<String> regExps)
io.jans.as.persistence.model.Scope
getScope(String scopeId)
List<String>
getScopeDNsByIdsAndAddToPersistenceIfNeeded(List<String> scopeIds)
List<String>
getScopeIds(List<io.jans.as.persistence.model.Scope> scopes)
List<String>
getScopeIdsByDns(List<String> scopeDns)
List<io.jans.as.persistence.model.Scope>
getScopesByDns(List<String> scopeDns)
List<io.jans.as.persistence.model.Scope>
getScopesByIds(List<String> scopeIds)
boolean
persist(io.jans.as.persistence.model.Scope scope)
-
-
-
Method Detail
-
asString
public static String asString(Collection<io.jans.as.persistence.model.Scope> scopes)
-
getOrCreate
public io.jans.as.persistence.model.Scope getOrCreate(io.jans.as.common.model.registration.Client client, String scopeId, Set<String> regExps)
-
getScope
public io.jans.as.persistence.model.Scope getScope(String scopeId)
-
persist
public boolean persist(io.jans.as.persistence.model.Scope scope)
-
getScopeDNsByIdsAndAddToPersistenceIfNeeded
public List<String> getScopeDNsByIdsAndAddToPersistenceIfNeeded(List<String> scopeIds)
-
getScopesByDns
public List<io.jans.as.persistence.model.Scope> getScopesByDns(List<String> scopeDns)
-
getScopesByIds
public List<io.jans.as.persistence.model.Scope> getScopesByIds(List<String> scopeIds)
-
baseDn
public String baseDn()
-
-