MAF Logon provides a default value-based configuration through the LogonUIFacade.
private void setDefaultFieldValues() { // ---------------------vemausup220 - direct------------------ logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_SUPSERVERPORT.toString(), "<HTTP_PORT>"); logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_SUPSERVERHTTPSPORT.toString(), "<HTTPS_PORT>"); logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_SUPSERVERURL.toString(), "<HOSTNAME>"); logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_SUPSERVERFARMID.toString(), "<FAR_ID>"); logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_URLSUFFIX.toString(), "<REVERSE_PROXY_SUFFIX>"); logonUIFacade.setDefaultValue( SharedPreferenceKeys.PREFERENCE_ID_SECCONFIG.toString(), "<SECURITY_CONFIGURATION>"); }