Package org.pac4j.http.client.indirect
Class FormClientTests
java.lang.Object
org.pac4j.http.client.indirect.FormClientTests
- All Implemented Interfaces:
org.pac4j.core.util.TestsConstants
This class tests the
FormClient class.- Since:
- 1.4.0
- Author:
- Jerome Leleu
-
Field Summary
Fields inherited from interface org.pac4j.core.util.TestsConstants
ALT_PASS_ATT, ALT_USER_ATT, BAD_USERNAME, BASE64_256_BIT_ENC_SECRET, BASE64_512_BIT_SIG_SECRET, CALLBACK_URL, 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, MY_CLIENT_NAME, 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
FormClientTests
public FormClientTests()
-
-
Method Details
-
testMissingUsernamePasswordAuthenticator
public void testMissingUsernamePasswordAuthenticator() -
testMissingProfileCreator
public void testMissingProfileCreator() -
testHasDefaultProfileCreator
public void testHasDefaultProfileCreator() -
testMissingLoginUrl
public void testMissingLoginUrl() -
testRedirectionUrl
public void testRedirectionUrl() -
testGetCredentialsMissingUsername
public void testGetCredentialsMissingUsername() -
testGetCredentialsMissingPassword
public void testGetCredentialsMissingPassword() -
testGetCredentials
public void testGetCredentials() -
testGetRightCredentials
public void testGetRightCredentials() -
testGetUserProfile
public void testGetUserProfile()
-