Package org.pac4j.http.client.indirect
Class IndirectBasicAuthClientTests
java.lang.Object
org.pac4j.http.client.indirect.IndirectBasicAuthClientTests
- All Implemented Interfaces:
org.pac4j.core.util.TestsConstants
public final class IndirectBasicAuthClientTests
extends Object
implements org.pac4j.core.util.TestsConstants
This class tests the
IndirectBasicAuthClient 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
IndirectBasicAuthClientTests
public IndirectBasicAuthClientTests()
-
-
Method Details
-
testMissingUsernamePasswordAuthenticator
public void testMissingUsernamePasswordAuthenticator() -
testMissingProfileCreator
public void testMissingProfileCreator() -
testMissingRealm
public void testMissingRealm() -
testHasDefaultProfileCreator
public void testHasDefaultProfileCreator() -
testMissingCallbackUrl
public void testMissingCallbackUrl() -
testRedirectionUrl
public void testRedirectionUrl() -
testGetCredentialsMissingHeader
public void testGetCredentialsMissingHeader() -
testGetCredentialsNotABasicHeader
public void testGetCredentialsNotABasicHeader() -
testGetCredentialsBadFormatHeader
public void testGetCredentialsBadFormatHeader() -
testGetCredentialsMissingSemiColon
public void testGetCredentialsMissingSemiColon() -
testGetCredentialsBadCredentials
public void testGetCredentialsBadCredentials() -
testGetCredentialsGoodCredentials
public void testGetCredentialsGoodCredentials()
-