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 Details

    • ApplicationRemoteAddressValidatorImpl

      public ApplicationRemoteAddressValidatorImpl()
  • Method Details

    • validate

      public boolean validate(Application application, InetAddress clientAddress)
      Specified by:
      validate in interface ApplicationRemoteAddressValidator
      Parameters:
      application - the Crowd application the client is trying to connect as
      clientAddress - the address of the client that is trying to connect
      Returns:
      true if the connection is authorised