Class CachedApplicationRemoteAddressValidator
java.lang.Object
com.atlassian.crowd.manager.validation.CachedApplicationRemoteAddressValidator
- All Implemented Interfaces:
ApplicationRemoteAddressValidator
public class CachedApplicationRemoteAddressValidator
extends Object
implements ApplicationRemoteAddressValidator
Caches the result of validating the application remote address. Caching is enabled or disabled
depending on
PropertyManager.isCacheEnabled().-
Constructor Summary
ConstructorsConstructorDescriptionCachedApplicationRemoteAddressValidator(PropertyManager propertyManager, ClusterAwareInetAddressCache cacheUtil, ApplicationRemoteAddressValidator delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(Application application, InetAddress clientAddress)
-
Constructor Details
-
CachedApplicationRemoteAddressValidator
public CachedApplicationRemoteAddressValidator(PropertyManager propertyManager, ClusterAwareInetAddressCache cacheUtil, ApplicationRemoteAddressValidator delegate)
-
-
Method Details
-
validate
- Specified by:
validatein interfaceApplicationRemoteAddressValidator- Parameters:
application- the Crowd application the client is trying to connect asclientAddress- the address of the client that is trying to connect- Returns:
trueif the connection is authorised
-