org.jboss.identity.federation.core.saml.v2.factories
Class JBossSAMLAuthnResponseFactory

java.lang.Object
  extended by org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLAuthnResponseFactory

public class JBossSAMLAuthnResponseFactory
extends java.lang.Object

Factory for the SAML v2 Authn Response

Since:
Dec 9, 2008
Author:
Anil.Saldhana@redhat.com

Constructor Summary
JBossSAMLAuthnResponseFactory()
           
 
Method Summary
static ResponseType createResponseType(java.lang.String ID, IssuerInfoHolder issuerInfo, AssertionType assertionType)
           
static ResponseType createResponseType(java.lang.String ID, SPInfoHolder sp, IDPInfoHolder idp, IssuerInfoHolder issuerInfo)
          Create a ResponseType
static StatusType createStatusType(java.lang.String statusCodeURI)
          Create a StatusType given the status code uri
static javax.xml.bind.Marshaller getValidatingMarshaller()
          Get the JAXB2 marshaller
static javax.xml.bind.Unmarshaller getValidatingUnmarshaller()
          Get the JAXB2 Unmarshaller
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossSAMLAuthnResponseFactory

public JBossSAMLAuthnResponseFactory()
Method Detail

createStatusType

public static StatusType createStatusType(java.lang.String statusCodeURI)
Create a StatusType given the status code uri

Parameters:
statusCodeURI -
Returns:

createResponseType

public static ResponseType createResponseType(java.lang.String ID,
                                              SPInfoHolder sp,
                                              IDPInfoHolder idp,
                                              IssuerInfoHolder issuerInfo)
                                       throws java.lang.Exception
Create a ResponseType

Parameters:
ID - id of the response
sp - holder with the information about the Service Provider
idp - holder with the information on the Identity Provider
issuerInfo - holder with information on the issuer
Returns:
Throws:
java.lang.Exception

createResponseType

public static ResponseType createResponseType(java.lang.String ID,
                                              IssuerInfoHolder issuerInfo,
                                              AssertionType assertionType)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getValidatingMarshaller

public static javax.xml.bind.Marshaller getValidatingMarshaller()
                                                         throws java.lang.Exception
Get the JAXB2 marshaller

Returns:
Throws:
java.lang.Exception

getValidatingUnmarshaller

public static javax.xml.bind.Unmarshaller getValidatingUnmarshaller()
                                                             throws java.lang.Exception
Get the JAXB2 Unmarshaller

Returns:
Throws:
java.lang.Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.