|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wss4j.dom.str.STRParserUtil
public final class STRParserUtil
Some utilities for the STRParsers.
| Method Summary | |
|---|---|
static void |
checkBinarySecurityBSPCompliance(SecurityTokenReference secRef,
BinarySecurity token,
BSPEnforcer bspEnforcer)
Check that the BinarySecurityToken referenced by the SecurityTokenReference argument is BSP compliant. |
static void |
checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef,
BSPEnforcer bspEnforcer)
Check that the EncryptedKey referenced by the SecurityTokenReference argument is BSP compliant. |
static void |
checkSamlTokenBSPCompliance(SecurityTokenReference secRef,
SamlAssertionWrapper samlAssertion,
BSPEnforcer bspEnforcer)
Check that the SAML token referenced by the SecurityTokenReference argument is BSP compliant. |
static void |
checkUsernameTokenBSPCompliance(SecurityTokenReference secRef,
BSPEnforcer bspEnforcer)
Check that the Username token referenced by the SecurityTokenReference argument is BSP compliant. |
static SamlAssertionWrapper |
getAssertionFromKeyIdentifier(SecurityTokenReference secRef,
Element strElement,
RequestData request,
WSDocInfo wsDocInfo)
Get an SamlAssertionWrapper object from parsing a SecurityTokenReference that uses a KeyIdentifier that points to a SAML Assertion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SamlAssertionWrapper getAssertionFromKeyIdentifier(SecurityTokenReference secRef,
Element strElement,
RequestData request,
WSDocInfo wsDocInfo)
throws WSSecurityException
secRef - the SecurityTokenReference to the SAML AssertionstrElement - The SecurityTokenReference DOM elementrequest - The RequestData instance used to obtain configurationwsDocInfo - The WSDocInfo object that holds previous results
WSSecurityException
public static void checkBinarySecurityBSPCompliance(SecurityTokenReference secRef,
BinarySecurity token,
BSPEnforcer bspEnforcer)
throws WSSecurityException
secRef - The SecurityTokenReference to the BinarySecurityTokentoken - The BinarySecurityTokenbspEnforcer - a BSPEnforcer instance to enforce BSP rules
WSSecurityException
public static void checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef,
BSPEnforcer bspEnforcer)
throws WSSecurityException
secRef - The SecurityTokenReference to the BinarySecurityTokenbspEnforcer - a BSPEnforcer instance to enforce BSP rules
WSSecurityException
public static void checkSamlTokenBSPCompliance(SecurityTokenReference secRef,
SamlAssertionWrapper samlAssertion,
BSPEnforcer bspEnforcer)
throws WSSecurityException
secRef - The SecurityTokenReference to the SAML tokensamlAssertion - The SAML Token SamlAssertionWrapper objectbspEnforcer - a BSPEnforcer instance to enforce BSP rules
WSSecurityException
public static void checkUsernameTokenBSPCompliance(SecurityTokenReference secRef,
BSPEnforcer bspEnforcer)
throws WSSecurityException
secRef - The SecurityTokenReference to the Username tokenbspEnforcer - a BSPEnforcer instance to enforce BSP rules
WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||