Class SpontaneousScopeService


  • @Named
    public class SpontaneousScopeService
    extends java.lang.Object
    • Constructor Detail

      • SpontaneousScopeService

        public SpontaneousScopeService()
    • Method Detail

      • createSpontaneousScopeIfNeeded

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

        public long getLifetime()
      • isAllowedBySpontaneousScopes

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

        public boolean isAllowedBySpontaneousScopes_​(java.util.Set<java.lang.String> regExps,
                                                     java.lang.String scopeRequested)
      • isAllowedBySpontaneousScopes

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

        public boolean isAllowedBySpontaneousScope​(java.lang.String spontaneousScope,
                                                   java.lang.String scopeRequested)