com.atlassian.crowd.integration.http.util
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getValidationFactors
public List<ValidationFactor> getValidationFactors(javax.servlet.http.HttpServletRequest request)
- 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 interface CrowdHttpValidationFactorExtractor
- Parameters:
request
- HttpServletRequest.
- Returns:
- array of validation factors.
getInstance
public static CrowdHttpValidationFactorExtractor getInstance()
Copyright © 2012 Atlassian. All Rights Reserved.