-
Methods Method Description com.onelogin.saml2.Auth.login(String, Boolean, Boolean, Boolean, Boolean, String) com.onelogin.saml2.Auth.logout(String, String, String, Boolean, String, String, String) com.onelogin.saml2.authn.SamlResponse.getIssuers() useSamlResponse.getResponseIssuer()and/orSamlResponse.getAssertionIssuer(); the contract of this method is quite controversialcom.onelogin.saml2.logout.LogoutResponse.build(String, SamlResponseStatus) useLogoutResponse(Saml2Settings, LogoutResponseParams)instead, in which case this method becomes completely useless; indeed, invoking this method in an outgoing logout response scenario will cause the response parameters specified at construction time (inResponseToandresponseStatus) to be overwritten, as well as its generated id and issue instant; on the other hand invoking this method in a received logout response scenario does not make sense at all (and in that caseLogoutResponse(Saml2Settings, HttpRequest)should be used instead)com.onelogin.saml2.model.Contact.getEmailAddress() this returns just the first e-mail address inContact.getEmailAddresses()
-
Constructors Constructor Description com.onelogin.saml2.authn.AuthnRequest(Saml2Settings, boolean, boolean, boolean, String) com.onelogin.saml2.http.HttpRequest(String) Not providing a queryString can cause HTTP Redirect binding to fail.com.onelogin.saml2.logout.LogoutRequest(Saml2Settings, HttpRequest, String, String, String, String, String) useLogoutRequest(Saml2Settings, HttpRequest)to build a received request from the HTTP request, orLogoutRequest(Saml2Settings, LogoutRequestParams)withLogoutRequestParams(String, String, String, String, String)to build a new request to be sentcom.onelogin.saml2.model.Contact(String, String, String)