Class SpontaneousScopeService


  • @Named
    public class SpontaneousScopeService
    extends Object
    • Constructor Detail

      • SpontaneousScopeService

        public SpontaneousScopeService()
    • Method Detail

      • createSpontaneousScopeIfNeeded

        public Scope createSpontaneousScopeIfNeeded​(Set<String> regExps,
                                                    String scopeId,
                                                    String clientId)
      • getLifetime

        public long getLifetime()
      • isAllowedBySpontaneousScopes

        public boolean isAllowedBySpontaneousScopes​(io.jans.as.common.model.registration.Client client,
                                                    String scopeRequested)
      • isAllowedBySpontaneousScopeRegExps

        public boolean isAllowedBySpontaneousScopeRegExps​(Set<String> regExps,
                                                          String scopeRequested)
      • isAllowedBySpontaneousScopes

        public io.jans.as.model.util.Pair<Boolean,​String> isAllowedBySpontaneousScopes​(Set<String> regExps,
                                                                                             String scopeRequested)
      • isAllowedBySpontaneousScope

        public boolean isAllowedBySpontaneousScope​(String spontaneousScope,
                                                   String scopeRequested)