PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.wstrust
Class SamlCredential

java.lang.Object
  extended by org.picketlink.identity.federation.core.wstrust.SamlCredential
All Implemented Interfaces:
Serializable

public final class SamlCredential
extends Object
implements Serializable

Credential that wraps a SAML Assertion.

Author:
Daniel Bevenius
See Also:
Serialized Form

Constructor Summary
SamlCredential(Element assertion)
           
SamlCredential(String assertion)
           
 
Method Summary
static Element assertionToElement(String assertion)
           
static String assertionToString(Element assertion)
           
 boolean equals(Object obj)
           
 Element getAssertionAsElement()
           
 String getAssertionAsString()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SamlCredential

public SamlCredential(Element assertion)

SamlCredential

public SamlCredential(String assertion)
Method Detail

getAssertionAsString

public String getAssertionAsString()

getAssertionAsElement

public Element getAssertionAsElement()
                              throws ProcessingException
Throws:
ProcessingException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

assertionToElement

public static Element assertionToElement(String assertion)
                                  throws ProcessingException
Throws:
ProcessingException

assertionToString

public static String assertionToString(Element assertion)

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.