Class SpontaneousScopeService

java.lang.Object
io.jans.as.server.service.SpontaneousScopeService

@Named public class SpontaneousScopeService extends Object
  • Constructor Details

    • SpontaneousScopeService

      public SpontaneousScopeService()
  • Method Details

    • createSpontaneousScopeIfNeeded

      public io.jans.as.persistence.model.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)