|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.security.wss4j.SAMLUtils
public final class SAMLUtils
internal SAMLUtils to avoid direct reference to opensaml from WSS4J interceptors.
| Method Summary | |
|---|---|
static boolean |
checkHolderOfKey(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
Check the holder-of-key requirements against the received assertion. |
static boolean |
checkSenderVouches(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper,
Certificate[] tlsCerts,
Element body,
List<org.apache.ws.security.WSSecurityEngineResult> signed)
Check the sender-vouches requirements against the received assertion. |
static boolean |
compareCredentials(org.apache.ws.security.saml.SAMLKeyInfo subjectKeyInfo,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
Compare the credentials of the assertion to the credentials used in 2-way TLS or those used to verify signatures. |
static Element |
getAssertionElement(Object assertion)
|
static String |
getIssuer(Object assertion)
|
static List<String> |
parseRolesInAssertion(Object assertion,
String roleAttributeName)
|
static void |
validateSAMLResults(List<org.apache.ws.security.WSSecurityEngineResult> results,
org.apache.cxf.message.Message message,
Element body)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<String> parseRolesInAssertion(Object assertion,
String roleAttributeName)
public static String getIssuer(Object assertion)
public static Element getAssertionElement(Object assertion)
public static void validateSAMLResults(List<org.apache.ws.security.WSSecurityEngineResult> results,
org.apache.cxf.message.Message message,
Element body)
throws org.apache.ws.security.WSSecurityException
org.apache.ws.security.WSSecurityException
public static boolean checkHolderOfKey(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
assertionWrapper - the SAML Assertion wrapper objectsignedResults - a list of all of the signed results
public static boolean compareCredentials(org.apache.ws.security.saml.SAMLKeyInfo subjectKeyInfo,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
subjectKeyInfo - the SAMLKeyInfo objectsignedResults - a list of all of the signed results
public static boolean checkSenderVouches(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper,
Certificate[] tlsCerts,
Element body,
List<org.apache.ws.security.WSSecurityEngineResult> signed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||