Apache CXF API

org.apache.cxf.rt.security.saml
Class SAMLUtils

java.lang.Object
  extended by org.apache.cxf.rt.security.saml.SAMLUtils

public final class SAMLUtils
extends Object


Method Summary
static Element getAssertionElement(Object assertion)
           
static ClaimCollection getClaims(org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
          Extract Claims from a SAML Assertion
static String getIssuer(Object assertion)
           
static Set<Principal> parseRolesFromClaims(ClaimCollection claims, String name, String nameFormat)
          Extract roles from the given Claims
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClaims

public static ClaimCollection getClaims(org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
Extract Claims from a SAML Assertion


parseRolesFromClaims

public static Set<Principal> parseRolesFromClaims(ClaimCollection claims,
                                                  String name,
                                                  String nameFormat)
Extract roles from the given Claims


getIssuer

public static String getIssuer(Object assertion)

getAssertionElement

public static Element getAssertionElement(Object assertion)

Apache CXF API

Apache CXF