com.atlassian.crowd.integration.http.util
Interface CrowdHttpValidationFactorExtractor

All Known Implementing Classes:
CrowdHttpValidationFactorExtractorImpl

public interface CrowdHttpValidationFactorExtractor

Classes which extracts validation factors from a request object should implement this interface.


Method Summary
 List<ValidationFactor> getValidationFactors(javax.servlet.http.HttpServletRequest request)
          Retrieves validation factors from the request:

Remote Address: the source IP address of the HTTP request. Original Address: the X-Forwarded-For HTTP header (if present and distinct from the Remote Address).

 

Method Detail

getValidationFactors

List<ValidationFactor> getValidationFactors(javax.servlet.http.HttpServletRequest request)
Retrieves validation factors from the request:

  1. Remote Address: the source IP address of the HTTP request.
  2. Original Address: the X-Forwarded-For HTTP header (if present and distinct from the Remote Address).

Parameters:
request - HttpServletRequest.
Returns:
array of validation factors.


Copyright © 2013 Atlassian. All Rights Reserved.