org.jboss.identity.federation.core.saml.v2.util
Class JAXBElementMappingUtil

java.lang.Object
  extended by org.jboss.identity.federation.core.saml.v2.util.JAXBElementMappingUtil

public class JAXBElementMappingUtil
extends java.lang.Object

Maps various saml/xacml types to their corresponding JAXBElement

Since:
Jan 22, 2009
Author:
Anil.Saldhana@redhat.com

Constructor Summary
JAXBElementMappingUtil()
           
 
Method Summary
static javax.xml.bind.JAXBElement<?> get(EncryptedElementType encryptedAssertion)
          Get the JAXBElement for an encrypted assertion
static javax.xml.bind.JAXBElement<?> get(Envelope envelope)
          Get the JAXBElement for a SOAP envelope
static javax.xml.bind.JAXBElement<?> get(RequestAbstractType requestAbstractType)
          Get the JAXBElement for the request type
static javax.xml.bind.JAXBElement<?> get(ResponseType responseType)
          Get the JAXBElement for response
static javax.xml.bind.JAXBElement<?> get(XACMLAuthzDecisionStatementType xacmlStatement)
          Get the JAXBElement for an XACML authorization statement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBElementMappingUtil

public JAXBElementMappingUtil()
Method Detail

get

public static javax.xml.bind.JAXBElement<?> get(RequestAbstractType requestAbstractType)
Get the JAXBElement for the request type

Parameters:
requestAbstractType -
Returns:

get

public static javax.xml.bind.JAXBElement<?> get(EncryptedElementType encryptedAssertion)
Get the JAXBElement for an encrypted assertion

Parameters:
encryptedAssertion -
Returns:

get

public static javax.xml.bind.JAXBElement<?> get(ResponseType responseType)
Get the JAXBElement for response

Parameters:
responseType -
Returns:

get

public static javax.xml.bind.JAXBElement<?> get(Envelope envelope)
Get the JAXBElement for a SOAP envelope

Parameters:
envelope -
Returns:

get

public static javax.xml.bind.JAXBElement<?> get(XACMLAuthzDecisionStatementType xacmlStatement)
Get the JAXBElement for an XACML authorization statement

Parameters:
xacmlStatement -
Returns:


Copyright © 2009 JBoss Inc.. All Rights Reserved.