public final class BSPEnforcer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkBinarySecurityBSPCompliance(SecurityTokenReference secRef,
BinarySecurity token)
Check that the BinarySecurityToken referenced by the SecurityTokenReference argument
is BSP compliant.
|
static void |
checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef)
Check that the EncryptedKey referenced by the SecurityTokenReference argument
is BSP compliant.
|
static void |
checkSamlTokenBSPCompliance(SecurityTokenReference secRef,
AssertionWrapper assertion)
Check that the SAML token referenced by the SecurityTokenReference argument
is BSP compliant.
|
static void |
checkUsernameTokenBSPCompliance(SecurityTokenReference secRef)
Check that the Username token referenced by the SecurityTokenReference argument
is BSP compliant.
|
public static void checkBinarySecurityBSPCompliance(SecurityTokenReference secRef, BinarySecurity token) throws WSSecurityException
secRef - The SecurityTokenReference to the BinarySecurityTokentoken - The BinarySecurityTokenWSSecurityExceptionpublic static void checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef - The SecurityTokenReference to the BinarySecurityTokenWSSecurityExceptionpublic static void checkSamlTokenBSPCompliance(SecurityTokenReference secRef, AssertionWrapper assertion) throws WSSecurityException
secRef - The SecurityTokenReference to the SAML tokenassertion - The SAML Token AssertionWrapper objectWSSecurityExceptionpublic static void checkUsernameTokenBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef - The SecurityTokenReference to the Username tokenWSSecurityExceptionCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.