Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user defined authenticator name in integration tests. #22260

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public void createUserDefinedLocalAuthenticatorWithExistingAuthenticatorName() t
.body("code", equalTo("AUT-60013"))
.body("message", equalTo("The authenticator already exists."))
.body("description", equalTo("The authenticator already exists for the given name:" +
" customAuthenticator."));
" custom_Authenticator."));
}

@Test(priority = 10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class AuthenticatorTestBase extends RESTAPIServerTestBase {
protected static final String AUTHENTICATOR_CONFIG_API_BASE_PATH = "/api/server/v1/configs/authenticators/";
protected static final String PATH_SEPARATOR = "/";

protected final String AUTHENTICATOR_NAME = "customAuthenticator";
protected final String AUTHENTICATOR_NAME = "custom_Authenticator";
protected final String AUTHENTICATOR_DISPLAY_NAME = "ABC custom authenticator";
protected final String AUTHENTICATOR_ENDPOINT_URI = "https://test.com/authenticate";
protected final String customIdPId = Base64.getUrlEncoder().withoutPadding().encodeToString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public class IdPFailureTest extends IdPTestBase {
private static final String OIDC_SCOPES_PLACEHOLDER = "\"<OIDC_SCOPES>\"";
private static final String AUTHENTICATOR_PROPERTIES_PLACEHOLDER = "\"<AUTHENTICATOR_PROPERTIES>\"";
private static final String CUSTOM_IDP_NAME = "CustomAuthIDP";
private static final String USER_DEFINED_AUTHENTICATOR_ID_1 = "Y3VzdG9tQXV0aGVudGljYXRvcjE=";
private static final String USER_DEFINED_AUTHENTICATOR_ID_2 = "Y3VzdG9tQXV0aGVudGljYXRvcg==";
private static final String USER_DEFINED_AUTHENTICATOR_ID_1 = "Y3VzdG9tX0F1dGhlbnRpY2F0b3Ix";
private static final String USER_DEFINED_AUTHENTICATOR_ID_2 = "Y3VzdG9tX0F1dGhlbnRpY2F0b3Iy";
private static final String SYSTEM_DEFINED_AUTHENTICATOR_ID = "R29vZ2xlT0lEQ0F1dGhlbnRpY2F0b3I";
private static final String ENDPOINT_URI = "https://abc.com/authenticate";
private String idPId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class IdPSuccessTest extends IdPTestBase {
private static final String METADATA_SAML_PLACEHOLDER = "<METADATA_SAML>";
private static final String OIDC_SCOPES_PLACEHOLDER = "\"<OIDC_SCOPES>\"";
private static final String AUTHENTICATOR_PROPERTIES_PLACEHOLDER = "\"<AUTHENTICATOR_PROPERTIES>\"";
private static final String FEDERATED_AUTHENTICATOR_ID = "Y3VzdG9tQXV0aGVudGljYXRvcg";
private static final String FEDERATED_AUTHENTICATOR_ID = "Y3VzdG9tX0F1dGhlbnRpY2F0b3Ix";
private static final String OIDC_AUTHENTICATOR_ID = "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I";
private static final String SAML_AUTHENTICATOR_ID = "U0FNTFNTT0F1dGhlbnRpY2F0b3I";
private static final String CUSTOM_IDP_NAME = "Custom Auth IDP";
Expand Down