简体   繁体   English

PHP-服务器在云中时如何使用活动目录进行身份验证

[英]PHP - How to authenticate with active directory when server is in cloud

I have a laravel 5.1 app and I have implemented active directory authentication. 我有一个laravel 5.1应用程序,并且已经实现了活动目录身份验证。 This works on localhost when I connect the network cable of the company to my computer. 当我将公司的网络电缆连接到计算机时,这在localhost上有效。 However, the production server is on Microsoft Azure and not on the company server. 但是,生产服务器位于Microsoft Azure上,而不位于公司服务器上。 How can I make the authentication work in such a case? 在这种情况下如何进行身份验证?

To authenticate with on-premises Active Directory in your Azure app , you could : 若要使用Azure应用中的本地Active Directory进行身份验证,可以:

1.Authenticate through Azure Active Directory 1.通过Azure Active Directory进行身份验证

An Azure Active Directory tenant can be directory-synced with an on-premises AD. 可以将Azure Active Directory租户与本地AD进行目录同步。 This approach enables AD users to access your App from the internet and authenticate using their on-premises credentials. 这种方法使AD用户可以从Internet访问您的App并使用其本地凭据进行身份验证。 Azure Active Directory tenant can be synced with your on-premise Active Directory to create a single sign-on experience for workers that are on-premises and remote. 可以将Azure Active Directory租户与本地Active Directory同步,以为本地和远程工作人员创建单点登录体验。

2.Authenticate through an on-premises STS 2.通过本地STS进行身份验证

If you have an on-premises secure token service (STS) like Active Directory Federation Services (AD FS), you can use that to federate authentication for your Azure app/ 如果您拥有本地安全令牌服务(STS)(例如Active Directory联合身份验证服务(AD FS)),则可以使用该令牌联合身份验证Azure应用/

Please click here for more details . 请单击此处了解更多详细信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP LDAP连接可从外部服务器对Active Directory进行身份验证 - PHP LDAP Connection to Authenticate against Active Directory from External Server 使用php ldap对活动目录进行身份验证时收到错误 - getting error when authenticate against active directory with php ldap 如何使用php和CodeIgniter对Active Directory进行身份验证? - How do I authenticate against Active Directory using php and CodeIgniter? 如何在不使用用户名和密码的情况下使用Active Directory在PHP中对用户进行身份验证 - How to authenticate users in PHP using Active Directory without username and password Active Directory LDAPS通过自签名证书启用。 但是PHP客户端无法通过AD服务器进行身份验证 - Active Directory LDAPS is enabled via self signed certificate. But the PHP client fails to authenticate with the AD server 使用 Azure Active Directory 连接对 PHP 应用程序进行身份验证 - Authenticate a PHP application using Azure Active Directory connection PHP / ldap_bind Active Directory无法对OU进行身份验证,但可以使用默认用户组进行身份验证 - PHP/ldap_bind Active Directory can't authenticate OU, but can authenticate with default user group 当用户使用PHP加载页面时,如何对我的服务器进行身份验证? - How to authenticate your server to my server when a user loads your page in PHP? 如何在PHP的nusoap服务器中对Soap Header进行身份验证? - how to authenticate Soap Header in nusoap server in PHP? 在使用IE / Firefox时使用PHP,活动目录对ldap进行身份验证 - Authenticate against ldap using PHP, active directory, while using IE/Firefox
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM