Class DefaultPunchOutAuthenticationVerifier
java.lang.Object
de.hybris.platform.b2b.punchout.actions.inbound.DefaultPunchOutAuthenticationVerifier
Authenticates information in the cXML.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanauthenticateSender(List<Credential> credentials) Matches the given credentials against the configured ones in the system.protected PunchOutCredentialServicevoidsetPunchOutCredentialService(PunchOutCredentialService punchOutCredentialService) voidExtracts the header information and matches the sender details with the configuration.
-
Constructor Details
-
DefaultPunchOutAuthenticationVerifier
public DefaultPunchOutAuthenticationVerifier()
-
-
Method Details
-
verify
Extracts the header information and matches the sender details with the configuration.- Parameters:
request- the CXML request message
-
authenticateSender
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
-
getPunchOutCredentialService
-
setPunchOutCredentialService
-