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 BinarySecurityTokenWSSecurityException
public static void checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef
- The SecurityTokenReference to the BinarySecurityTokenWSSecurityException
public static void checkSamlTokenBSPCompliance(SecurityTokenReference secRef, AssertionWrapper assertion) throws WSSecurityException
secRef
- The SecurityTokenReference to the SAML tokenassertion
- The SAML Token AssertionWrapper objectWSSecurityException
public static void checkUsernameTokenBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef
- The SecurityTokenReference to the Username tokenWSSecurityException
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.