Class UrlHolder
java.lang.Object
com.tremolosecurity.config.util.UrlHolder
-
Constructor Summary
ConstructorDescriptionUrlHolder
(ApplicationType app, UrlType url, ConfigManager config) UrlHolder constructor -
Method Summary
Modifier and TypeMethodDescriptiongetApp()
Returns application xml configurationReturns the list of authorization rules for this URLReturns the configuration system for this URLReturns the URL's filtersReturns the regex pattern used to identify this URLint
getPort()
Port of the URL this UrlHolder is tied togetProxyURL
(HashMap<String, String> params) Builds a new URL, if needed, from the components of the current URL and a proxy hostgetUrl()
Returns the Url configurationint
Returns the weight of the URL.void
init()
Initializes a URL from the XML configuration.boolean
boolean
boolean
isSSL()
Returns true if this URL is secured using SSL/TLS
-
Constructor Details
-
UrlHolder
UrlHolder constructor- Parameters:
app
-url
-config
-- Throws:
Exception
-
-
Method Details
-
getPattern
-
getWeight
public int getWeight()Returns the weight of the URL. When two UrlHolders match a URL the higher weight UrlHolder wins- Returns:
-
getPort
public int getPort()Port of the URL this UrlHolder is tied to- Returns:
-
isSSL
public boolean isSSL()Returns true if this URL is secured using SSL/TLS- Returns:
-
init
-
getApp
-
getUrl
-
getProxyURL
-
getFilterChain
-
getConfig
-
getAzRules
-
isOverrideHost
public boolean isOverrideHost() -
isOverrideReferer
public boolean isOverrideReferer() -
getLowerCasePath
- Returns:
- the lowerCasePath
-