You can build your own LDAP login dialogue as well as control the App's features & security by interacting with the Active Directory server yourself in your App's (native, Web or Mobile). I have created a PB Web Service that brokers the AD LDAP interaction for any PB App. You can download the WS from here.
I also gave a presentation on this aspect at the Charlotte PB Conference. You can download the presentation from here. If you are interested, I can also send you an example App that utilizes ADSI (Active Directory Service Interfaces) on the client side to get the MS-Windows AD credentials so that you can query the AD server for more information. FYI: https://msdn.microsoft.com/en-us/library/ms806997.aspx