Class ApiManagementConfiguration

java.lang.Object
com.predic8.membrane.core.interceptor.apimanagement.ApiManagementConfiguration

public class ApiManagementConfiguration extends Object
  • Field Details

  • Constructor Details

    • ApiManagementConfiguration

      public ApiManagementConfiguration()
    • ApiManagementConfiguration

      public ApiManagementConfiguration(String currentDir, String configLocation)
    • ApiManagementConfiguration

      public ApiManagementConfiguration(String currentDir, String configLocation, String membraneName)
  • Method Details

    • getCurrentDir

      public static String getCurrentDir()
    • setCurrentDir

      public static void setCurrentDir(String currentDir)
    • getPolicies

      public Map<String,Policy> getPolicies()
    • setPolicies

      public void setPolicies(Map<String,Policy> policies)
    • getKeys

      public Map<String,Key> getKeys()
    • setKeys

      public void setKeys(Map<String,Key> keys)
    • getUnauthenticatedPolicies

      public HashSet<Policy> getUnauthenticatedPolicies()
    • addIpAsApiKeyIfNeeded

      public void addIpAsApiKeyIfNeeded(String ip)
    • getLocation

      public String getLocation()
    • setLocation

      public void setLocation(String location)
    • updateAfterLocationChange

      public void updateAfterLocationChange() throws IOException
      Throws:
      IOException
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Throws:
      org.springframework.beans.BeansException
    • start

      public void start()
    • stop

      public void stop()
    • isRunning

      public boolean isRunning()
    • getResolver

      public ResolverMap getResolver()
    • setResolver

      public void setResolver(ResolverMap resolver)
    • getHashLocation

      public String getHashLocation()
    • setHashLocation

      public void setHashLocation(String hashLocation) throws IOException
      Throws:
      IOException
    • setMembraneName

      public void setMembraneName(String membraneName)
    • getMembraneName

      public String getMembraneName()
    • getContextLost

      public boolean getContextLost()
    • setContextLost

      public void setContextLost(boolean contextLost)
    • shutdown

      public void shutdown()