code: private void applyConnectionManagerConfiguration(ConnectionManagerConfiguration cmc,
        org.ironjacamar.common.api.metadata.common.Security s)
     {
        if (s != null && s.getSecurityDomain() != null)
        {
           cmc.setSecurityDomain(s.getSecurityDomain());
        }
     }
docs: Apply security to connection manager configuration
  @param cmc The connection manager configuration
  @param s The security definition