public class AuthnRequest extends Object
| Constructor and Description |
|---|
AuthnRequest(Saml2Settings settings)
Constructs the AuthnRequest object.
|
AuthnRequest(Saml2Settings settings,
boolean forceAuthn,
boolean isPassive,
boolean setNameIdPolicy)
Constructs the AuthnRequest object.
|
AuthnRequest(Saml2Settings settings,
boolean forceAuthn,
boolean isPassive,
boolean setNameIdPolicy,
String nameIdValueReq)
Constructs the AuthnRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthnRequestXml() |
String |
getEncodedAuthnRequest() |
String |
getEncodedAuthnRequest(Boolean deflated) |
String |
getId() |
public AuthnRequest(Saml2Settings settings)
settings - OneLogin_Saml2_Settingspublic AuthnRequest(Saml2Settings settings, boolean forceAuthn, boolean isPassive, boolean setNameIdPolicy, String nameIdValueReq)
settings - OneLogin_Saml2_SettingsforceAuthn - When true the AuthNReuqest will set the ForceAuthn='true'isPassive - When true the AuthNReuqest will set the IsPassive='true'setNameIdPolicy - When true the AuthNReuqest will set a nameIdPolicynameIdValueReq - Indicates to the IdP the subject that should be authenticatedpublic AuthnRequest(Saml2Settings settings, boolean forceAuthn, boolean isPassive, boolean setNameIdPolicy)
settings - OneLogin_Saml2_SettingsforceAuthn - When true the AuthNReuqest will set the ForceAuthn='true'isPassive - When true the AuthNReuqest will set the IsPassive='true'setNameIdPolicy - When true the AuthNReuqest will set a nameIdPolicypublic String getEncodedAuthnRequest(Boolean deflated) throws IOException
deflated - If deflated or not the encoded AuthnRequestIOExceptionpublic String getEncodedAuthnRequest() throws IOException
IOExceptionpublic String getAuthnRequestXml()
public String getId()
Copyright © 2020. All rights reserved.