8000 Removing unused private method by matzew · Pull Request #189 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
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 @@ -59,26 +59,6 @@ private void addKeycloakAuthData(DeploymentPhaseContext phaseContext, String dep
WarMetaData warMetaData = deploymentUnit.getAttachment(WarMetaData.ATTACHMENT_KEY);

addJSONData(service.getJSON(deploymentName), warMetaData);
//addJSONData(getJSON(), warMetaData);
}

// TODO: remove this.
private String getJSON() {
return "{\n" +
" \"realm\": \"demo\",\n" +
" \"realm-public-key\": \"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB\",\n" +
" \"auth-server-url\": \"http://localhost:8080/auth\",\n" +
" \"ssl-not-required\": true,\n" +
" \"resource\": \"customer-portal-subsys\",\n" +
" \"credentials\": {\n" +
" \"password\": \"password\"\n" +
" },\n" +
" \"use-resource-role-mappings\": false,\n" +
" \"enable-cors\": false,\n" +
" \"cors-max-age\": -1,\n" +
" \"expose-token\": false,\n" +
" \"bearer-only\": false\n" +
"}";
}

private void addJSONData(String json, WarMetaData warMetaData) {
Expand Down
0