PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.1.Final-redhat-1

org.picketlink.identity.federation.bindings.tomcat.sp
Class SPUtil

java.lang.Object
  extended by 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

Constructor Summary
SPUtil()
           
 
Method Summary
 Principal createGenericPrincipal(org.apache.catalina.connector.Request request, String username, List<String> roles)
           
 AuthnRequestType createSAMLRequest(String serviceURL, String identityURL)
          Create a SAML2 auth request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPUtil

public SPUtil()
Method Detail

createSAMLRequest

public AuthnRequestType createSAMLRequest(String serviceURL,
                                          String identityURL)
                                   throws ConfigurationException
Create a SAML2 auth request

Parameters:
serviceURL - URL of the service
identityURL - URL of the identity provider
Returns:
Throws:
ConfigurationException

createGenericPrincipal

public Principal createGenericPrincipal(org.apache.catalina.connector.Request request,
                                        String username,
                                        List<String> roles)

PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.1.Final-redhat-1

Copyright © 2012 JBoss Inc.. All Rights Reserved.