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 void
addScope
(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.Scope
getGroupScope
(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.Scope
static io.jans.as.persistence.model.Scope
getSuperScope
(String scopeName) static void
putGroupScope
(io.jans.as.persistence.model.Scope scope) static void
putResource
(String resourceName, Map<io.jans.configapi.core.util.ProtectionScopeType, List<io.jans.as.persistence.model.Scope>> scopeMap) static void
putResourceScopeByType
(String resourceName, io.jans.configapi.core.util.ProtectionScopeType protectionScopeType, List<io.jans.as.persistence.model.Scope> scopes) static void
putScope
(io.jans.as.persistence.model.Scope scope) static void
putSuperScope
(io.jans.as.persistence.model.Scope scope) static void
static void
static void
static 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)
-