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

[CMTOOL-380] remove migration- suffix out of security configuration i… #327

Merged
merged 1 commit into from
Nov 22, 2024
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 @@ -26,9 +26,9 @@

public class LegacySecurityConfiguration {

public static final String DEFAULT_ELYTRON_APPLICATION_DOMAIN_NAME = "migration-defaultApplicationDomain";
public static final String DEFAULT_ELYTRON_APPLICATION_HTTP_AUTHENTICATION_FACTORY_NAME = "migration-defaultApplicationHttpAuthenticationFactory";
public static final String DEFAULT_ELYTRON_APPLICATION_SASL_AUTHENTICATION_FACTORY_NAME = "migration-defaultApplicationSaslAuthenticationFactory";
public static final String DEFAULT_ELYTRON_APPLICATION_DOMAIN_NAME = "ApplicationDomain";
public static final String DEFAULT_ELYTRON_APPLICATION_HTTP_AUTHENTICATION_FACTORY_NAME = "application-http-authentication";
public static final String DEFAULT_ELYTRON_APPLICATION_SASL_AUTHENTICATION_FACTORY_NAME = "application-sasl-authentication";

private final JBossServerConfiguration targetConfiguration;
private final Map<String, LegacySecurityRealm> legacySecurityRealms = new HashMap<>();
Expand Down Expand Up @@ -69,47 +69,47 @@ public void setDomainControllerRemoteSecurityRealm(String domainControllerRemote
}

public String getDefaultElytronApplicationRealmName() {
return "migration-defaultApplicationRealm";
return "ApplicationRealm";
}

public String getDefaultElytronManagementRealmName() {
return "migration-defaultManagementRealm";
return "ManagementRealm";
}

public String getDefaultElytronApplicationDomainName() {
return DEFAULT_ELYTRON_APPLICATION_DOMAIN_NAME;
}

public String getDefaultElytronManagementDomainName() {
return "migration-defaultManagementDomain";
return "ManagementDomain";
}

public String getDefaultElytronApplicationHttpAuthenticationFactoryName() {
return DEFAULT_ELYTRON_APPLICATION_HTTP_AUTHENTICATION_FACTORY_NAME;
}

public String getDefaultElytronManagementHttpAuthenticationFactoryName() {
return "migration-defaultManagementHttpAuthenticationFactory";
return "management-http-authentication";
}

public String getDefaultElytronApplicationSaslAuthenticationFactoryName() {
return DEFAULT_ELYTRON_APPLICATION_SASL_AUTHENTICATION_FACTORY_NAME;
}

public String getDefaultElytronManagementSaslAuthenticationFactoryName() {
return "migration-defaultManagementSaslAuthenticationFactory";
return "management-sasl-authentication";
}

public String getDefaultElytronTLSKeyStoreName() {
return "migration-defaultTLSKeyStore";
return "applicationKS";
}

public String getDefaultElytronTLSKeyManagerName() {
return "migration-defaultTLSKeyManager";
return "applicationKM";
}

public String getDefaultElytronTLSServerSSLContextName() {
return "migration-defaultTLSServerSSLContext";
return "applicationSSC";
}

@Override
Expand Down
Loading