Class SAMLUtils
- java.lang.Object
-
- org.apache.cxf.rt.security.saml.utils.SAMLUtils
-
public final class SAMLUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElementgetAssertionElement(Object assertion)static List<String>getAudienceRestrictions(org.apache.cxf.message.Message msg, boolean enableByDefault)static org.apache.cxf.rt.security.claims.ClaimCollectiongetClaims(org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)Extract Claims from a SAML Assertionstatic StringgetIssuer(Object assertion)static Set<Principal>parseRolesFromClaims(org.apache.cxf.rt.security.claims.ClaimCollection claims, String name, String nameFormat)Extract roles from the given Claims
-
-
-
Method Detail
-
getClaims
public static org.apache.cxf.rt.security.claims.ClaimCollection getClaims(org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
Extract Claims from a SAML Assertion
-
parseRolesFromClaims
public static Set<Principal> parseRolesFromClaims(org.apache.cxf.rt.security.claims.ClaimCollection claims, String name, String nameFormat)
Extract roles from the given Claims
-
-