new Locale( StringUtils.isEmpty( locale ) ? "en" : locale ) );
applicationRuntimeInfo.setTimestampStr( sfd.format( new Date( archivaRuntimeInfo.getTimestamp() ) ) );
CookieInformation cookieInformation = new CookieInformation();
RedbackRuntimeConfiguration redbackRuntimeConfiguration =
redbackRuntimeConfigurationService.getRedbackRuntimeConfiguration();
cookieInformation.setDomain(
redbackRuntimeConfiguration.getConfigurationProperties().get( UserConfigurationKeys.REMEMBER_ME_DOMAIN ) );
cookieInformation.setPath(
redbackRuntimeConfiguration.getConfigurationProperties().get( UserConfigurationKeys.REMEMBER_ME_PATH ) );
cookieInformation.setSecure(
redbackRuntimeConfiguration.getConfigurationProperties().get( UserConfigurationKeys.REMEMBER_ME_SECURE ) );
cookieInformation.setTimeout(
redbackRuntimeConfiguration.getConfigurationProperties().get( UserConfigurationKeys.REMEMBER_ME_TIMEOUT ) );
cookieInformation.setRememberMeEnabled( BooleanUtils.toBoolean(
redbackRuntimeConfiguration.getConfigurationProperties().get(
UserConfigurationKeys.REMEMBER_ME_ENABLED ) ) );
applicationRuntimeInfo.setCookieInformation( cookieInformation );
return applicationRuntimeInfo;