public class ClientValidationManagerImpl extends Object implements ClientValidationManager
| Constructor and Description |
|---|
ClientValidationManagerImpl(InetAddressCacheUtil cacheUtil,
PropertyManager propertyManager,
TrustedProxyManager trustedProxyManager,
I18nHelper i18nHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<RemoteAddress> |
getAllowedAddressesForApplication(Application application)
This method exists to make it possible for subclasses to determine the valid addresses
from a different source.
|
void |
validate(Application application,
javax.servlet.http.HttpServletRequest request)
Validates that the client is allowed to perform the request.
|
public ClientValidationManagerImpl(InetAddressCacheUtil cacheUtil, PropertyManager propertyManager, TrustedProxyManager trustedProxyManager, I18nHelper i18nHelper)
public void validate(Application application, javax.servlet.http.HttpServletRequest request) throws ClientValidationException
ClientValidationManagervalidate in interface ClientValidationManagerapplication - Application to validate with.request - HttpServletRequestClientValidationException - if the client fails to validate with the applicationprotected Iterable<RemoteAddress> getAllowedAddressesForApplication(Application application)
application - client applicationCopyright © 2016 Atlassian. All Rights Reserved.