props.put("db.driver", driver);
props.put("db.url", url);
props.put("db.username", user);
props.put("db.password", password);
oauthProvider = (OAuthProvider)constructor.newInstance(props);
validator = new OAuthValidator(oauthProvider);
} catch (Exception ex) {
throw new LifecycleException("In memory OAuth DB can not be created " + ex.getMessage());
}
}