Class IpExtractorTests

java.lang.Object
org.pac4j.http.credentials.extractor.IpExtractorTests
All Implemented Interfaces:
org.pac4j.core.util.TestsConstants

public final class IpExtractorTests extends Object implements org.pac4j.core.util.TestsConstants
This class tests the IpExtractor.
Since:
1.8.0
Author:
Jerome Leleu
  • Constructor Details

    • IpExtractorTests

      public IpExtractorTests()
  • Method Details

    • testRetrieveIpOk

      public void testRetrieveIpOk()
    • testRetrieveIpFromHeaderWithProxyIpCheck

      public void testRetrieveIpFromHeaderWithProxyIpCheck()
    • testRetrieveIpFromHeaderUsingConstructor

      public void testRetrieveIpFromHeaderUsingConstructor()
    • testSetNullIpHeaderChain

      public void testSetNullIpHeaderChain()
    • testNoIp

      public void testNoIp()