use of com.onelogin.saml2.exception.SettingsException in project sonarqube by SonarSource.
the class SamlIdentityProvider method init.
@Override
public void init(InitContext context) {
try {
Auth auth = newAuth(initSettings(context.getCallbackUrl()), context.getRequest(), context.getResponse());
auth.login(context.generateCsrfState());
} catch (IOException | SettingsException e) {
throw new IllegalStateException("Fail to intialize SAML authentication plugin", e);
}
}
Aggregations