Package io.jans.configapi.security.api
Class ApiProtectionCache
java.lang.Object
io.jans.configapi.security.api.ApiProtectionCache
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddScope(String resourceName, io.jans.configapi.core.util.ProtectionScopeType protectionScopeType, io.jans.as.persistence.model.Scope scope) static Map<String,Map<io.jans.configapi.core.util.ProtectionScopeType, List<io.jans.as.persistence.model.Scope>>> static io.jans.as.persistence.model.ScopegetGroupScope(String scopeName) static List<io.jans.as.persistence.model.Scope>getResourceScopeByType(String resourceName, io.jans.configapi.core.util.ProtectionScopeType protectionScopeType) static Map<io.jans.configapi.core.util.ProtectionScopeType,List<io.jans.as.persistence.model.Scope>> getResourceScopes(String resourceName) static io.jans.as.persistence.model.Scopestatic io.jans.as.persistence.model.ScopegetSuperScope(String scopeName) static voidputGroupScope(io.jans.as.persistence.model.Scope scope) static voidputResource(String resourceName, Map<io.jans.configapi.core.util.ProtectionScopeType, List<io.jans.as.persistence.model.Scope>> scopeMap) static voidputResourceScopeByType(String resourceName, io.jans.configapi.core.util.ProtectionScopeType protectionScopeType, List<io.jans.as.persistence.model.Scope> scopes) static voidputScope(io.jans.as.persistence.model.Scope scope) static voidputSuperScope(io.jans.as.persistence.model.Scope scope) static voidstatic voidstatic voidstatic void
-
Field Details
-
CACHE_LIFETIME
public static final int CACHE_LIFETIME- See Also:
-
-
Method Details
-
removeAllScopes
public static void removeAllScopes() -
getScope
-
putScope
public static void putScope(io.jans.as.persistence.model.Scope scope) -
getScopes
-
getGroupScope
-
putGroupScope
public static void putGroupScope(io.jans.as.persistence.model.Scope scope) -
removeGroupScopes
public static void removeGroupScopes() -
getGroupScopes
-
getSuperScope
-
putSuperScope
public static void putSuperScope(io.jans.as.persistence.model.Scope scope) -
removeSuperScopes
public static void removeSuperScopes() -
getSuperScopes
-
getAllTypesOfScopes
-
raemoveAllResources
public static void raemoveAllResources() -
putResource
-
putResourceScopeByType
-
getAllResources
-
getResourceScopes
-
getResourceScopeByType
-
addScope
public static void addScope(String resourceName, io.jans.configapi.core.util.ProtectionScopeType protectionScopeType, io.jans.as.persistence.model.Scope scope)
-