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 java.lang.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 java.lang.String
asString(java.util.Collection<Scope> scopes)
java.lang.String
baseDn()
Scope
getOrCreate(io.jans.as.common.model.registration.Client client, java.lang.String scopeId, java.util.Set<java.lang.String> regExps)
Scope
getScope(java.lang.String scopeId)
java.util.List<java.lang.String>
getScopeDNsByIdsAndAddToLdapIfNeeded(java.util.List<java.lang.String> scopeIds)
java.util.List<java.lang.String>
getScopeIds(java.util.List<Scope> scopes)
java.util.List<java.lang.String>
getScopeIdsByDns(java.util.List<java.lang.String> scopeDns)
java.util.List<Scope>
getScopesByDns(java.util.List<java.lang.String> scopeDns)
java.util.List<Scope>
getScopesByIds(java.util.List<java.lang.String> scopeIds)
boolean
persist(Scope scope)
-
-
-
Method Detail
-
asString
public static java.lang.String asString(java.util.Collection<Scope> scopes)
-
getOrCreate
public Scope getOrCreate(io.jans.as.common.model.registration.Client client, java.lang.String scopeId, java.util.Set<java.lang.String> regExps)
-
getScope
public Scope getScope(java.lang.String scopeId)
-
persist
public boolean persist(Scope scope)
-
getScopeDNsByIdsAndAddToLdapIfNeeded
public java.util.List<java.lang.String> getScopeDNsByIdsAndAddToLdapIfNeeded(java.util.List<java.lang.String> scopeIds)
-
getScopesByDns
public java.util.List<Scope> getScopesByDns(java.util.List<java.lang.String> scopeDns)
-
getScopeIdsByDns
public java.util.List<java.lang.String> getScopeIdsByDns(java.util.List<java.lang.String> scopeDns)
-
getScopeIds
public java.util.List<java.lang.String> getScopeIds(java.util.List<Scope> scopes)
-
getScopesByIds
public java.util.List<Scope> getScopesByIds(java.util.List<java.lang.String> scopeIds)
-
baseDn
public java.lang.String baseDn()
-
-