Interface STRParser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  STRParser.REFERENCE_TYPE
      ISSUER_SERIAL - A certificate (chain) is located by the issuer name and serial number of the (root) cert THUMBPRINT_SHA1 - A certificate (chain) is located by the SHA1 thumbprint of the (root) cert KEY_IDENTIFIER - A certificate (chain) is located via a Key Identifier Element DIRECT_REF - A certificate (chain) is located directly via an Id to another security token Note that a Thumbprint reference is also a KeyIdentifier, but takes precedence over it.
    • Method Detail

      • parseSecurityTokenReference

        STRParserResult parseSecurityTokenReference​(STRParserParameters parameters)
                                             throws org.apache.wss4j.common.ext.WSSecurityException
        Parse a SecurityTokenReference element and extract credentials.
        Parameters:
        parameters - The parameters to parse
        Returns:
        the STRParserResult Object containing the parsing results
        Throws:
        org.apache.wss4j.common.ext.WSSecurityException