Class CrowdHttpValidationFactorExtractorImpl
java.lang.Object
com.atlassian.crowd.integration.http.util.CrowdHttpValidationFactorExtractorImpl
- All Implemented Interfaces:
CrowdHttpValidationFactorExtractor
public class CrowdHttpValidationFactorExtractorImpl
extends Object
implements CrowdHttpValidationFactorExtractor
Extracts ValidationFactors.
-
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
Description copied from interface:CrowdHttpValidationFactorExtractor
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).
- Specified by:
getValidationFactors
in interfaceCrowdHttpValidationFactorExtractor
- Parameters:
request
- HttpServletRequest.- Returns:
- array of validation factors.
-
getInstance
-