|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wss4j.dom.saml.DOMSAMLUtil
public final class DOMSAMLUtil
Some SAML Utility methods only for use in the DOM code.
| Method Summary | |
|---|---|
static boolean |
checkHolderOfKey(SamlAssertionWrapper assertionWrapper,
List<WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
Check the holder-of-key requirements against the received assertion. |
static boolean |
checkSenderVouches(SamlAssertionWrapper assertionWrapper,
Certificate[] tlsCerts,
Element body,
List<WSSecurityEngineResult> signed)
Check the sender-vouches requirements against the received assertion. |
static boolean |
compareCredentials(SAMLKeyInfo subjectKeyInfo,
List<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 void |
validateSAMLResults(List<WSSecurityEngineResult> results,
Certificate[] tlsCerts,
Element body)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void validateSAMLResults(List<WSSecurityEngineResult> results,
Certificate[] tlsCerts,
Element body)
throws WSSecurityException
WSSecurityException
public static boolean checkHolderOfKey(SamlAssertionWrapper assertionWrapper,
List<WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
assertionWrapper - the SAML Assertion wrapper objectsignedResults - a list of all of the signed results
public static boolean compareCredentials(SAMLKeyInfo subjectKeyInfo,
List<WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
subjectKeyInfo - the SAMLKeyInfo objectsignedResults - a list of all of the signed results
public static boolean checkSenderVouches(SamlAssertionWrapper assertionWrapper,
Certificate[] tlsCerts,
Element body,
List<WSSecurityEngineResult> signed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||