public class AuthReqBuilder extends Object
| Constructor and Description |
|---|
AuthReqBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml2.core.AuthnRequest |
buildAuthenticationRequest(String issuerId)
Generate an authentication request.
|
org.opensaml.saml2.core.AuthnRequest |
buildAuthenticationRequest(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) throws Exception
Exception - error when bootstrappingpublic org.opensaml.saml2.core.AuthnRequest buildAuthenticationRequest(String issuerId, String destination, String acsUrl, boolean isPassive, int tenantId, String tenantDomain, String nameIdPolicy) throws Exception
SSOHostObjectException - error when bootstrappingExceptionpublic static org.opensaml.saml2.core.AuthnRequest setSignature(org.opensaml.saml2.core.AuthnRequest authnRequest,
String signatureAlgorithm,
org.opensaml.xml.security.x509.X509Credential cred)
throws Exception
authnRequest - SAML Authentication requestsignatureAlgorithm - Signature algorithmcred - X.509 credential objectExceptionCopyright © 2016 WSO2 Inc. All rights reserved.