|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.str.BSPEnforcer
public final class BSPEnforcer
This class enforces processing rules for SecurityTokenReferences to various token elements, according to the Basic Security Profile (BSP) specification.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void checkBinarySecurityBSPCompliance(SecurityTokenReference secRef, BinarySecurity token) throws WSSecurityException
secRef
- The SecurityTokenReference to the BinarySecurityTokentoken
- The BinarySecurityToken
WSSecurityException
public static void checkEncryptedKeyBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef
- The SecurityTokenReference to the BinarySecurityToken
WSSecurityException
public static void checkSamlTokenBSPCompliance(SecurityTokenReference secRef, AssertionWrapper assertion) throws WSSecurityException
secRef
- The SecurityTokenReference to the SAML tokenassertion
- The SAML Token AssertionWrapper object
WSSecurityException
public static void checkUsernameTokenBSPCompliance(SecurityTokenReference secRef) throws WSSecurityException
secRef
- The SecurityTokenReference to the Username token
WSSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |