Class SAMLUtils
java.lang.Object
org.apache.cxf.rt.security.saml.utils.SAMLUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic ElementgetAssertionElement(Object assertion) 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 StringparseRolesFromClaims(org.apache.cxf.rt.security.claims.ClaimCollection claims, String name, String nameFormat) Extract roles from the given Claims
-
Method Details
-
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 -
getIssuer
-
getAssertionElement
-
getAudienceRestrictions
-