public class AuthReqBuilder extends Object
| Constructor and Description |
|---|
AuthReqBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml2.core.AuthnRequest |
buildAuthenticationRequest(String issuerId,
String acsUrl,
boolean isPassive,
String nameIdPolicy)
Generate an authentication request.
|
org.opensaml.saml2.core.AuthnRequest |
buildSignedAuthRequest(String issuerId,
String destination,
String acsUrl,
boolean isPassive,
int tenantId,
String tenantDomain,
String nameIdPolicy)
Generate an Signed authentication request with a custom consumer url.
|
static org.opensaml.saml2.core.AuthnRequest |
setSignature(org.opensaml.saml2.core.AuthnRequest authnRequest,
String signatureAlgorithm,
org.opensaml.xml.security.x509.X509Credential cred)
Sign the SAML AuthnRequest message
|
public org.opensaml.saml2.core.AuthnRequest buildAuthenticationRequest(String issuerId, String acsUrl, boolean isPassive, String nameIdPolicy) throws SSOHostObjectException
SSOHostObjectException - error when bootstrappingpublic org.opensaml.saml2.core.AuthnRequest buildSignedAuthRequest(String issuerId, String destination, String acsUrl, boolean isPassive, int tenantId, String tenantDomain, String nameIdPolicy) throws SSOHostObjectException
SSOHostObjectException - error when bootstrappingpublic static org.opensaml.saml2.core.AuthnRequest setSignature(org.opensaml.saml2.core.AuthnRequest authnRequest,
String signatureAlgorithm,
org.opensaml.xml.security.x509.X509Credential cred)
throws SSOHostObjectException
authnRequest - SAML Authentication requestsignatureAlgorithm - Signature algorithmcred - X.509 credential objectSSOHostObjectExceptionCopyright © 2017 WSO2. All rights reserved.