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
Modifier and TypeMethodDescriptiongetValidationFactors
(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 Details
-
getValidationFactors
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).
- Parameters:
request
- HttpServletRequest.- Returns:
- array of validation factors.
-