Class ApplicationRemoteAddressValidatorImpl
java.lang.Object
com.atlassian.crowd.manager.validation.ApplicationRemoteAddressValidatorImpl
- All Implemented Interfaces:
ApplicationRemoteAddressValidator
public class ApplicationRemoteAddressValidatorImpl
extends Object
implements ApplicationRemoteAddressValidator
Validates a connection attempt based on whether the client address matches the set of allowed remote
addresses of the application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(Application application, InetAddress clientAddress)
-
Constructor Details
-
ApplicationRemoteAddressValidatorImpl
public ApplicationRemoteAddressValidatorImpl()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceApplicationRemoteAddressValidator
- Parameters:
application
- the Crowd application the client is trying to connect asclientAddress
- the address of the client that is trying to connect- Returns:
true
if the connection is authorised
-