|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TrustedProxyManager
Manages the list of trusted proxies.
| Method Summary | |
|---|---|
boolean |
addAddress(java.lang.String remoteAddress)
Adds a remote address to the list of those trusted to act as proxies. |
java.util.Set<java.lang.String> |
getAddresses()
Returns the addresses of all the trusted proxy servers, or an empty set if there are none. |
boolean |
isTrusted(java.lang.String remoteAddress)
Returns true if the address represents a configured trusted proxy. |
void |
removeAddress(java.lang.String remoteAddress)
Removes the address of the proxy from the list of trusted proxies. |
| Method Detail |
|---|
boolean isTrusted(java.lang.String remoteAddress)
remoteAddress - address of the proxy server
java.util.Set<java.lang.String> getAddresses()
boolean addAddress(java.lang.String remoteAddress)
remoteAddress - address of a trusted proxy
remoteAddress was added, false otherwise.void removeAddress(java.lang.String remoteAddress)
remoteAddress - address of the proxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||