Class GrouperProxyBean

java.lang.Object
edu.internet2.middleware.grouper.util.GrouperProxyBean

public class GrouperProxyBean extends Object
  • Constructor Details

    • GrouperProxyBean

      public GrouperProxyBean()
  • Method Details

    • getScheme

      public String getScheme()
      scheme e.g. http or https
      Returns:
      the scheme
    • getPort

      public int getPort()
      numeric port
      Returns:
      the port
    • getHostname

      public String getHostname()
      domain name or ip address to connect to, cached
      Returns:
      the hostname
    • proxyConfig

      public static GrouperProxyBean proxyConfig(GrouperProxyType proxyGrouperProxyType, String proxyUrl, String targetUrl)
      Parameters:
      grouperProxyType -
      proxyDomainName -
      proxyPort -
      proxySsl -
      targetUrl -
      Returns:
      the bean for proxy or null if not proxying
    • getGrouperProxyType

      public GrouperProxyType getGrouperProxyType()
      type of proxy e.g. http or socks
      Returns:
    • setGrouperProxyType

      public void setGrouperProxyType(GrouperProxyType grouperProxyType)
      type of proxy e.g. http or socks
      Parameters:
      grouperProxyType -
    • getProxyUrl

      public String getProxyUrl()
      proxy url
      Returns:
    • setProxyUrl

      public void setProxyUrl(String proxyUrl)
      proxy url
      Parameters:
      proxyUrl -
    • proxyUrl

      public static String proxyUrl(String proxyTypeString, String proxyHost, Integer proxyPort)
      create a proxy url based on type, host, and port
      Parameters:
      grouperProxyType2 -
      proxyHost -
      proxyPort -
      Returns:
    • retrieveProxy

      public Proxy retrieveProxy()