SessionServiceImpl ssi = new SessionServiceImpl() {
@Override
protected TeiidLoginContext authenticate(String userName, Credentials credentials, String applicationName, List<String> domains, SecurityHelper helper, boolean passthough)
throws LoginException {
impl.authenticateUser(userName, credentials, applicationName, domains, passthough);
return impl;
}
};
ssi.setSecurityDomains("somedomain");