public class SPUtil extends Object
| Constructor and Description |
|---|
SPUtil() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
createGenericPrincipal(Request request,
String username,
List<String> roles)
Create an instance of the
GenericPrincipal |
AuthnRequestType |
createSAMLRequest(String serviceURL,
String identityURL)
Create a SAML2 auth request
|
public AuthnRequestType createSAMLRequest(String serviceURL, String identityURL) throws ConfigurationException
serviceURL - URL of the serviceidentityURL - URL of the identity providerConfigurationExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.