I would like to use Basic Authentication in IFRAME tag

for example:

< frame class=“myclass” src=“http://superadmin:admin@myserver/xwiki/bin/view/Main/WebHome?basicauth=1”>

but doesn’t load content of iframe, is it possible ? or not? if this not possible how can i make auto login in iframe?

i’m already use ldap authentication and this is jsf project.

<iframe class="resp-iframe" src="http://superadmin:admin@myserver/xwiki/bin/view/Main/WebHome?basicauth=1"></iframe>