Class GrouperProxyBean
java.lang.Object
edu.internet2.middleware.grouper.util.GrouperProxyBean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontype of proxy e.g.domain name or ip address to connect to, cachedint
getPort()
numeric portproxy urlscheme e.g.static GrouperProxyBean
proxyConfig
(GrouperProxyType proxyGrouperProxyType, String proxyUrl, String targetUrl) static String
create a proxy url based on type, host, and portvoid
setGrouperProxyType
(GrouperProxyType grouperProxyType) type of proxy e.g.void
setProxyUrl
(String proxyUrl) proxy url
-
Constructor Details
-
GrouperProxyBean
public GrouperProxyBean()
-
-
Method Details
-
getScheme
scheme e.g. http or https- Returns:
- the scheme
-
getPort
public int getPort()numeric port- Returns:
- the port
-
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
type of proxy e.g. http or socks- Returns:
-
setGrouperProxyType
type of proxy e.g. http or socks- Parameters:
grouperProxyType
-
-
getProxyUrl
proxy url- Returns:
-
setProxyUrl
proxy url- Parameters:
proxyUrl
-
-
proxyUrl
create a proxy url based on type, host, and port- Parameters:
grouperProxyType2
-proxyHost
-proxyPort
-- Returns:
-
retrieveProxy
-