org.picketlink.identity.federation.bindings.tomcat.sp
Class SPUtil
java.lang.Object
org.picketlink.identity.federation.bindings.tomcat.sp.SPUtil
public class SPUtil
- extends Object
Common code useful for a SP
- Since:
- Jan 9, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPUtil
public SPUtil()
createSAMLRequest
public AuthnRequestType createSAMLRequest(String serviceURL,
String identityURL)
throws ConfigurationException
- Create a SAML2 auth request
- Parameters:
serviceURL
- URL of the serviceidentityURL
- URL of the identity provider
- Returns:
-
- Throws:
ConfigurationException
createGenericPrincipal
public Principal createGenericPrincipal(org.apache.catalina.connector.Request request,
String username,
List<String> roles)
- Create an instance of the
GenericPrincipal
- Parameters:
request
- username
- roles
-
- Returns:
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.