anchor.diff:      glassfish.createCustomResource( "<%= client.jndi_config_base %>/realm", getKeycloakRealm( "<%= Reality::Naming.underscore(client.key) %>" ) );
       glassfish.createCustomResource( "<%= client.jndi_config_base %>/realm-public-key", getKeycloakPublicKey( "<%= Reality::Naming.underscore(client.key) %>" ) );
       glassfish.createCustomResource( "<%= client.jndi_config_base %>/auth-server-url", getKeycloakServerURL( "<%= Reality::Naming.underscore(client.key) %>" ) );
  -    glassfish.createCustomResource( "<%= client.jndi_config_base %>/resource", getKeycloakClient( "<%= Reality::Naming.underscore(client.key) %>", "<%= client.name %>" ) );
  +    glassfish.createCustomResource( "<%= client.jndi_config_base %>/resource", getKeycloakClient( "<%= Reality::Naming.underscore(client.key) %>" ) );
   <% end -%>
   <% repository.keycloak.remote_clients.each do |client| -%>
   <% prefix = "#{Reality::Naming.underscore(repository.name)}/keycloak/client/#{Reality::Naming.underscore(client.name)}" -%>
       // Remote Client <%= client.name %>
       glassfish.createCustomResource( "<%= prefix %>/server_url", getKeycloakServerURL( "<%= Reality::Naming.underscore(client.name) %>" ) );
       glassfish.createCustomResource( "<%= prefix %>/realm", getKeycloakRealm( "<%= Reality::Naming.underscore(client.name) %>" ) );
  -    glassfish.createCustomResource( "<%= prefix %>/client", getKeycloakClient( "<%= Reality::Naming.underscore(client.name) %>", "<%= client.name %>" ) );
  +    glassfish.createCustomResource( "<%= prefix %>/client", getKeycloakClient( "<%= Reality::Naming.underscore(client.name) %>" ) );
       glassfish.createCustomResource( "<%= prefix %>/username", getKeycloakServiceUsername( "<%= Reality::Naming.underscore(client.name) %>" ) );
       glassfish.createCustomResource( "<%= prefix %>/password", getKeycloakServicePassword( "<%= Reality::Naming.underscore(client.name) %>" ) );
   <% end -%>
  
positive.code:   }
  
    @javax.annotation.Nullable
    protected String getKeycloakClient( @javax.annotation.Nullable final String prefix, @javax.annotation.Nonnull final String defaultValue )
    {
      return getProperty( prefix, "keycloak.client", defaultValue );
    }
  
    @javax.annotation.Nonnull
  
negative.code:       return v;
      }
    }
  <% end -%>
  }
  