Class ScopeService


  • @ApplicationScoped
    public class ScopeService
    extends Object
    Responsible for OpenID Connect, OAuth2 and UMA scopes. (Type is defined by ScopeType.)
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • ScopeService

        public ScopeService()
    • 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)
      • getDnForScope

        public String getDnForScope​(String inum)
      • searchScopes

        public List<io.jans.as.persistence.model.Scope> searchScopes​(String pattern,
                                                                     int sizeLimit)
      • searchScopesById

        public List<io.jans.as.persistence.model.Scope> searchScopesById​(String jsId)
      • 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)
      • getAllScopesList

        public List<io.jans.as.persistence.model.Scope> getAllScopesList​(int size,
                                                                         String scopeType)