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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(Application application, InetAddress clientAddress)
-
Constructor Details
-
ApplicationRemoteAddressValidatorImpl
public ApplicationRemoteAddressValidatorImpl()
-
-
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
-