适用于Java的SAML工具包 [英] SAML toolkit for Java
问题描述
我有一个外部发布的内部Java应用程序,我正在寻找一个Java SAML工具包,因此我可以将SAML auth集成到java auth代码中,并在Azure中创建一个SAML企业应用程序。我看到OneLogin有一个但无法确定它是否可用于
Azure或其他IDP。
I have an in-house java application published externally and am looking for a java SAML toolkit so I can integrate SAML auth into the java auth code and create a SAML enterprise app in Azure. I see OneLogin has one but can't determine if it can be used for Azure or other IDPs.
谢谢!
推荐答案
Hello John,
Hello John,
官方Azure AD库称为ADAL(Azure Active Directory身份验证库)/ MSAL(Microsoft身份验证库) )图书馆。 Java的官方库是ADAL4J,可在此处找到: https://github.com/AzureAD / azure-activedirectory-library-for-java
The official Azure AD libraries are referred to as the ADAL(Azure Active Directory Auth Library)/MSAL(Microsoft Auth Library) Libraries. The official library for Java is ADAL4J which can be found here : https://github.com/AzureAD/azure-activedirectory-library-for-java
A和wikis也在github repos上: https:/ /github.com/AzureAD/azure-activedirectory-library-for-java/wiki
Y 你可以按照wiki的代表流程来使用SAML令牌作为用户断言来获取访问令牌。
You can follow the on behalf of flow per the wiki to utilize a SAML token as a user assertion to get an access token.
这在wiki中有描述:&absp; https://github.com/AzureAD/azure-activedirectory-library-for-java/wiki/Acquire-token s#confidential-client-applications
This is described here in the wiki : https://github.com/AzureAD/azure-activedirectory-library-for-java/wiki/Acquire-tokens#confidential-client-applications
然而,就具体的"SAML工具包"而言,我们不提供专门针对SAML的AAD身份验证库。
However in terms of specifically a "SAML toolkit", we don't offer a library for AAD Authentication specifically for SAML.
这篇关于适用于Java的SAML工具包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!