Class SecurityTokenRefSTRParser

java.lang.Object
org.apache.wss4j.dom.str.SecurityTokenRefSTRParser
All Implemented Interfaces:
STRParser

public class SecurityTokenRefSTRParser extends Object implements STRParser
This implementation of STRParser is for parsing a SecurityTokenReference element, found in the KeyInfo element associated with an EncryptedData element.
  • Constructor Details

    • SecurityTokenRefSTRParser

      public SecurityTokenRefSTRParser()
  • Method Details

    • 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