Intranet/Extranet authentication modal. RRS feed

  • Question

  • I have a web application with 3 host name site collections, I want to create an extranet. Extranet will not use AD authentication, I have to build a custom authentication provider.

    If I create a new host name site collection in 1 web application, how authentication will work on existing site collection?

    Can I create 1 web application with 1 host name site collection and that can be accessed by 2 urls?

     - intranet.dev.con.au
     - extranet.dev.com.au

    intranet will use AD authentication and extranet will use a custom authentication.
    Monday, April 20, 2015 2:18 AM

All replies

  • Yes it is possible to use one web application to be accessed by Intranet and extranet with intranet using AD and extranet using custom authentication.



    Monday, April 20, 2015 2:34 PM
  • I have extended the web application and enabled form based authentication with a different host name and I have created a new host name site collection with host header application pointing to host header of extended application, site collection has been created but when i access in the browser it is not showing me login page, it is asking for user id and password on a popup windows as normal windows authentication enabled application asks.

    I am using following powershell to create and extend web application.

    PS C:\Windows\system32> $ap = New-SPAuthenticationProvider -ASPNETRoleProviderName customroleprovider -ASPNETMembershipP
    rovider custommembershipprovider

    PS C:\Windows\system32> Get-SPWebApplication -Identity http://localspdev13-1 | New-SPWebApplicationExtension -Name Extra netSite -HostHeader www.extranet.alidev.local -Zone Extranet -URL http://extranet.alidev.local -Port 80 -AuthenticationP rovider $ap PS C:\Windows\system32> New-SPSite "http://test.alidev.local" -HostHeaderWebApplication "http://extranet.alidev.local" - Name "Portal" -Description ‘Customer root’ -OwnerAlias "alidev\spsitecoladmin" -language 1033 -Template "STS#0"

    • Edited by Shafaqat Tuesday, April 21, 2015 1:37 AM
    Tuesday, April 21, 2015 1:12 AM