Class UmaScopeService


  • @Named("umaScopeService")
    public class UmaScopeService
    extends Object
    Version:
    0.9, 22/04/2013
    Author:
    Yuriy Zabrovarnyy, Yuriy Movchan
    • Constructor Detail

      • UmaScopeService

        public UmaScopeService()
    • 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)
      • getScopeIds

        public List<String> getScopeIds​(List<io.jans.as.persistence.model.Scope> scopes)
      • getScopesByIds

        public List<io.jans.as.persistence.model.Scope> getScopesByIds​(List<String> scopeIds)
      • baseDn

        public String baseDn()