Class ParameterExtractorTests
- java.lang.Object
-
- org.pac4j.http.credentials.extractor.ParameterExtractorTests
-
- All Implemented Interfaces:
TestsConstants
public final class ParameterExtractorTests extends Object implements TestsConstants
This class tests theParameterExtractor.- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
-
Field Summary
-
Fields inherited from interface org.pac4j.core.util.TestsConstants
BAD_USERNAME, BASE64_256_BIT_ENC_SECRET, BASE64_512_BIT_SIG_SECRET, CALLBACK_URL, CLIENT_NAME, CNONCE, DIGEST_AUTHORIZATION_HEADER_VALUE, DIGEST_RESPONSE, EMAIL, FAKE_VALUE, FIRSTNAME, FIRSTNAME_VALUE, GOOD_USERNAME, GOOD_USERNAME2, HEADER_NAME, ID, KEY, LOGIN_URL, MAC_SECRET, MULTIPLE_USERNAME, NAME, NC, NONCE, PAC4J_BASE_URL, PAC4J_URL, PASSWORD, PATH, PREFIX_HEADER, QOP, REALM, ROLE, SALT, SECRET, TICKET, TOKEN, TYPE, URI, USERNAME, VALUE, VERIFIER
-
-
Constructor Summary
Constructors Constructor Description ParameterExtractorTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestRetrieveGetParameterNotSupported()voidtestRetrieveGetParameterOk()voidtestRetrieveNoGetParameter()voidtestRetrieveNoPostParameter()voidtestRetrievePostParameterNotSupported()voidtestRetrievePostParameterOk()
-
-
-
Method Detail
-
testRetrieveGetParameterOk
public void testRetrieveGetParameterOk()
-
testRetrievePostParameterOk
public void testRetrievePostParameterOk()
-
testRetrievePostParameterNotSupported
public void testRetrievePostParameterNotSupported()
-
testRetrieveGetParameterNotSupported
public void testRetrieveGetParameterNotSupported()
-
testRetrieveNoGetParameter
public void testRetrieveNoGetParameter()
-
testRetrieveNoPostParameter
public void testRetrieveNoPostParameter()
-
-