使用Windows AD在Azure上测试Java代码 [英] Test Java code on Azure with Windows AD

查看:78
本文介绍了使用Windows AD在Azure上测试Java代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

             您已阅读标题!我有这个独特的要求.在我们的公司环境中,我们无法访问Windows AD.请注意,这与访问Azure AD无关.它们不一样. 是吗?

               You read the title ! I have this unique requirement. Our access to Windows AD is denied in our corporate environment.  Please note that this is not about accessing Azure AD. They are different. Right ?

如何运行正在创建的Java库以在Azure上访问Windows AD的"ldap" URL?我是否可以访问JVM的信任存储"以存储我的SSL证书.我认为"ldap"访问是通过SSL.

How do I run a Java library I am creating to access the 'ldap' URL of Windows AD on Azure ? Will I get access to the 'trust store' of the JVM to store my SSL certificate. I assume the 'ldap' access is through SSL.

我可以利用免费信贷或从这里的某人那里找一个付费帐户.

I can utilize free credit or wangle a paid account from someone here.

我认为这就像此处的解释(https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-getting-started).

I think it is like what is explained here( https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-getting-started ).

可以直接使用代码访问ldap URL而不使用任何令牌吗?可以基于具有用户名/密码身份验证的SSL进行访问吗?

Is the ldap URL accessible to code directly without using any token ? The access could be based on SSL with username/password authentication ?

谢谢

Mohan

推荐答案

Hello Mohan,

Hello Mohan,

您的本地AD是否扩展到Azure(DC在Azure的VM上运行)?还是您正在使用Azure AD域服务?

Is your onprem AD extended to Azure (DC's running on VM's in Azure)? or are you using Azure  AD Domain services ?

如果您使用的是Azure AD DS,请选中此

If you are using Azure AD DS then check this article for enabling Secure LDAP.

如果要为本地AD启用安全LDAP,请选中此 文章.

If you want to enable Secure LDAP for your on-prem AD then check this article.

关于在Azure中运行Java代码,有很多 选项为此-应用服务,功能(预览)或任何具有JAVA的简单VM.

Regarding running your Java code in Azure, there are plenty of options for this - App Service, Functions(preview) or any simple VM with JAVA.

我找到了Java Github中的示例讨论了如何连接到LDAP,LDAPS.希望这会有所帮助.

I found a Java Sample in Github which talks about how to connect to LDAP,LDAPS. Hope this helps.



这篇关于使用Windows AD在Azure上测试Java代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆