1. Enable Forms Based Authentication (FBA)
2.modify the default login page,which resides in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\IDENTITYMODEL\LOGIN \default.aspx
modified code looks like:
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"> <SharePoint:EncodedLiteral runat="server" EncodeMethod="HtmlEncode" Id="ClaimsLogonPageTitle" /> </asp:Content> <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server"> <!--sign in --> <SharePoint:EncodedLiteral runat="server" EncodeMethod="HtmlEncode" Id="ClaimsLogonPageTitleInTitleArea" /> </asp:Content> <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <!--Select the credentials --> <SharePoint:EncodedLiteral runat="server" EncodeMethod="HtmlEncode" Id="ClaimsLogonPageMessage" /> <br /> <br /> <!--dropdownbox --> <SharepointIdentity:LogonSelector ID="ClaimsLogonSelector" runat="server" visible="false" /> <a href="/_windows/default.aspx?ReturnUrl=">Login</a> </asp:Content>
notes:
http://192.168.8.10:88/_windows/default.aspx?ReturnUrl=
http://192.168.8.10:88/_login/default.aspx