Class AuthenticationVerifier


  • public class AuthenticationVerifier
    extends java.lang.Object
    Authenticates information in the cXML.
    • Constructor Detail

      • AuthenticationVerifier

        public AuthenticationVerifier()
    • Method Detail

      • verify

        public void verify​(CXML request)
        Extracts the header information and matches the sender details with the configuration.
        Parameters:
        request - the CXML request message
      • authenticateSender

        protected boolean authenticateSender​(java.util.List<Credential> credentials)
        Matches the given credentials against the configured ones in the system. It is necessary for at least one of the credentials to match.
        Parameters:
        credentials - the credentials to check
        Returns:
        true if at least one matches
      • setPunchOutCredentialService

        public void setPunchOutCredentialService​(PunchOutCredentialService punchOutCredentialService)