class SecureLogin {

    public boolean isUserImpersonationEnabled(Configuration configuration) {
        String valueFromUserImpersonationOnServer = configuration.get(SecureLogin.CONFIG_KEY_SERVICE_USER_IMPERSONATION, System.getProperty(PROPERTY_KEY_USER_IMPERSONATION, "false"));
        return StringUtils.equalsIgnoreCase(valueFromUserImpersonationOnServer, "true");
    }

    private  SecureLogin();

}