Class ApiProtectionCache


  • @ApplicationScoped
    @Named
    public class ApiProtectionCache
    extends Object
    • Constructor Detail

      • ApiProtectionCache

        public ApiProtectionCache()
    • Method Detail

      • removeAllScopes

        public static void removeAllScopes()
      • getScope

        public static io.jans.as.persistence.model.Scope getScope​(String scopeName)
      • putScope

        public static void putScope​(io.jans.as.persistence.model.Scope scope)
      • getAllScopes

        public static Map<String,​io.jans.as.persistence.model.Scope> getAllScopes()
      • removeAllResources

        public static void removeAllResources()
      • getResourceScopes

        public static List<io.jans.as.persistence.model.Scope> getResourceScopes​(String resourceName)
      • putResource

        public static void putResource​(String resourceName,
                                       List<io.jans.as.persistence.model.Scope> scopeList)
      • getAllResources

        public static Map<String,​List<io.jans.as.persistence.model.Scope>> getAllResources()