public class CrowdHttpValidationFactorExtractorImpl extends Object implements CrowdHttpValidationFactorExtractor
Modifier and Type | Method and Description |
---|---|
static CrowdHttpValidationFactorExtractor |
getInstance() |
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).
|
public List<ValidationFactor> getValidationFactors(javax.servlet.http.HttpServletRequest request)
CrowdHttpValidationFactorExtractor
getValidationFactors
in interface CrowdHttpValidationFactorExtractor
request
- HttpServletRequest.public static CrowdHttpValidationFactorExtractor getInstance()
Copyright © 2020 Atlassian. All rights reserved.