Interface XMLSigner.OrganisationLookup
-
- All Known Implementing Classes:
CSMessageOrganisationLookup
- Enclosing class:
- XMLSigner
public static interface XMLSigner.OrganisationLookupInterface 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.StringUNKNOWN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringfindOrganisation(org.w3c.dom.Document doc)Method that should extract the organisiation name from a given xml message.
-
-
-
Field Detail
-
UNKNOWN
static final java.lang.String UNKNOWN
- See Also:
- Constant Field Values
-
-
Method Detail
-
findOrganisation
java.lang.String findOrganisation(org.w3c.dom.Document doc) throws MessageContentException, MessageProcessingExceptionMethod 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.
-
-