Class SignatureSTRParser

  • All Implemented Interfaces:
    STRParser

    public class SignatureSTRParser
    extends Object
    implements STRParser
    This implementation of STRParser is for parsing a SecurityTokenReference element, found in the KeyInfo element associated with a Signature element.
    • Constructor Detail

      • SignatureSTRParser

        public SignatureSTRParser()
    • Method Detail

      • parseSecurityTokenReference

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