org.apache.cxf.rt.security.saml
Class SAMLUtils
java.lang.Object
org.apache.cxf.rt.security.saml.SAMLUtils
public final class SAMLUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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