Interface XMLSigner.OrganisationLookup

  • All Known Implementing Classes:
    CSMessageOrganisationLookup
    Enclosing class:
    XMLSigner

    public static interface XMLSigner.OrganisationLookup
    Interface for determining organisation related to a XML message. Created by philip on 31/12/16.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String UNKNOWN  
    • Method Detail

      • findOrganisation

        java.lang.String findOrganisation​(org.w3c.dom.Document doc)
                                   throws MessageContentException,
                                          MessageProcessingException
        Method that should extract the organisiation name from a given xml message.
        Parameters:
        doc - the document to extract organisation from.
        Returns:
        might the organisation found, it might return UNKNWON if supported with used MessageSecurityProvider.
        Throws:
        MessageContentException - if organisation couldn't be extracted from message.
        MessageProcessingException - if internal problems occurred extractign the organisation name.