Package io.jans.as.server.service
Class SpontaneousScopeService
- java.lang.Object
-
- io.jans.as.server.service.SpontaneousScopeService
-
@Named public class SpontaneousScopeService extends Object
-
-
Constructor Summary
Constructors Constructor Description SpontaneousScopeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.persistence.model.Scope
createSpontaneousScopeIfNeeded(Set<String> regExps, String scopeId, String clientId)
long
getLifetime()
boolean
isAllowedBySpontaneousScope(String spontaneousScope, String scopeRequested)
boolean
isAllowedBySpontaneousScopeRegExps(Set<String> regExps, String scopeRequested)
boolean
isAllowedBySpontaneousScopes(io.jans.as.common.model.registration.Client client, String scopeRequested)
io.jans.as.model.util.Pair<Boolean,String>
isAllowedBySpontaneousScopes(Set<String> regExps, String scopeRequested)
-
-
-
Method Detail
-
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)
-
-