public final class SAMLUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Element |
getAssertionElement(Object assertion) |
static List<String> |
getAudienceRestrictions(Message msg,
boolean enableByDefault) |
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
|
public static ClaimCollection getClaims(org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
public static Set<Principal> parseRolesFromClaims(ClaimCollection claims, String name, String nameFormat)
Apache CXF