public class SamlUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
Constructor and Description |
---|
SamlUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getRedirectTo(HttpFacade facade,
String contextPath,
String baseUri)
Gets a url to redirect to if there is an IDP initiated login.
|
static void |
sendSaml(boolean asRequest,
HttpFacade httpFacade,
String actionUrl,
BaseSAML2BindingBuilder binding,
Document document,
SamlDeployment.Binding samlBinding) |
static SamlSession |
validateSamlSession(Object potentialSamlSession,
SamlDeployment deployment) |
public static void sendSaml(boolean asRequest, HttpFacade httpFacade, String actionUrl, BaseSAML2BindingBuilder binding, Document document, SamlDeployment.Binding samlBinding) throws ProcessingException, ConfigurationException, IOException
public static String getRedirectTo(HttpFacade facade, String contextPath, String baseUri)
facade
- contextPath
- baseUri
- public static SamlSession validateSamlSession(Object potentialSamlSession, SamlDeployment deployment)
Copyright © 2021 JBoss by Red Hat. All rights reserved.