Class AuthenticationVerifier
- java.lang.Object
-
- de.hybris.platform.b2b.punchout.actions.AuthenticationVerifier
-
public class AuthenticationVerifier extends java.lang.ObjectAuthenticates information in the cXML.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanauthenticateSender(java.util.List<Credential> credentials)Matches the given credentials against the configured ones in the system.PunchOutCredentialServicegetPunchOutCredentialService()voidsetPunchOutCredentialService(PunchOutCredentialService punchOutCredentialService)voidverify(CXML request)Extracts the header information and matches the sender details with the configuration.
-
-
-
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
-
getPunchOutCredentialService
public PunchOutCredentialService getPunchOutCredentialService()
-
setPunchOutCredentialService
public void setPunchOutCredentialService(PunchOutCredentialService punchOutCredentialService)
-
-