Class PrincipalTest


  • public class PrincipalTest
    extends Object
    Test various principal objects after processing a security token.
    • Constructor Detail

      • PrincipalTest

        public PrincipalTest()
    • Method Detail

      • testUsernameToken

        @Test
        public void testUsernameToken()
                               throws Exception
        Test the principal that is created after processing a Username Token
        Throws:
        Exception
      • testTransformedUsernameToken

        @Test
        public void testTransformedUsernameToken()
                                          throws Exception
        Test the principal that is created after processing a Username Token, which has been transformed into a SAML Assertion.
        Throws:
        Exception
      • testSAMLToken

        @Test
        public void testSAMLToken()
                           throws Exception
        Test the principal that is created after processing a SAML Token
        Throws:
        Exception
      • testSAML2Token

        @Test
        public void testSAML2Token()
                            throws Exception
        Test the principal that is created after processing a SAML2 Token
        Throws:
        Exception
      • testTransformedSAMLToken

        @Test
        public void testTransformedSAMLToken()
                                      throws Exception
        Test the principal that is created after processing a SAML Token, which has been transformed into another SAML Token.
        Throws:
        Exception
      • testBinarySecurityToken

        @Test
        public void testBinarySecurityToken()
                                     throws Exception
        Test the principal that is created after processing (and explicitly validating) a BinarySecurityToken.
        Throws:
        Exception