/** * Sets the Force.com connection username. * <p> * This is overridden here because the Force.com connection * username is used in part to generate the unique cache id * for this {@code ForceConnectorConfig} * * @param username the username to be used in a Force.com connection */ @Override public void setUsername(String username) { super.setUsername(username); initCacheId(); }
/** * Sets the Force.com connection username. * <p> * This is overridden here because the Force.com connection * username is used in part to generate the unique cache id * for this {@code ForceConnectorConfig} * * @param username the username to be used in a Force.com connection */ @Override public void setUsername(String username) { super.setUsername(username); initCacheId(); }
/** * Sets the Force.com authentication endpoint. * <p> * The authEndpoint parameter may be a fully qualified, * versioned Force.com API endpoint. If it is not, this * {@code ForceConnectorConfig} will attempt to build * a qualified Force.com API endpoint and bind the version * to the API version used in the Force.com SDK. * <p> * * @param authEndpoint representation of a Force.com authentication endpoint * (This endpoint may be a fully qualified Force.com API * endpoint, but need not be) * */ @Override public void setAuthEndpoint(String authEndpoint) { // We allow non-fully qualified API endpoints. In that // case, we should automatically bind to the API version // found in the API dependencies super.setAuthEndpoint(ForceConnectorUtils.buildForceApiEndpoint(authEndpoint)); initCacheId(); }
/** * Sets the Force.com authentication endpoint. * <p> * The authEndpoint parameter may be a fully qualified, * versioned Force.com API endpoint. If it is not, this * {@code ForceConnectorConfig} will attempt to build * a qualified Force.com API endpoint and bind the version * to the API version used in the Force.com SDK. * <p> * * @param authEndpoint representation of a Force.com authentication endpoint * (This endpoint may be a fully qualified Force.com API * endpoint, but need not be) * */ @Override public void setAuthEndpoint(String authEndpoint) { // We allow non-fully qualified API endpoints. In that // case, we should automatically bind to the API version // found in the API dependencies super.setAuthEndpoint(ForceConnectorUtils.buildForceApiEndpoint(authEndpoint)); initCacheId(); }