Setting up two web portals with authentication on two different AD Domains

Hello all,

We would like to set up a web projet (Standard web) on two different web servers with AD authentication.

The conditions are the following :

The people with account on AD Domain XXX could only be able to login on the web server 1 set up with authentication with Domain XXX

The people with account on AD Domain YYY could only be able to login on the web server 2 set up with authentication with Domain YYY

Is it possible ? We saw the domain configuration is shared for all the AD authentication module :

TargetSystem\ADS\AuthenticationDomains --> "Domain XXX|Domain YYY"