Azure Webapp安装程序 [英] Azure Webapp Setup

查看:50
本文介绍了Azure Webapp安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们是全新的Microsoft Azure,我们需要在云上部署我们的Java服务以及该框架  7  UI。

We are totally new Microsoft Azure where we need to deploy our Java service on cloud and along with that framework 7  UI.

我需要将它与Azure AD集成,但它是一个无状态环境。

I need to integrate it with Azure AD but it is a stateless environment.

我如何从AD获取访问令牌以及如何是否应该传递给HTML 以及如何在服务端进行验证并再次通过。

How will I get the access token from AD and how should it get passed to HTML and how to verify it at service side and again pass and through.

我看过各种各样的例子但是这些是春季启动,我的应用程序不是春季启动它是在春季版本4.3.2。

I have seen a various example but those are for spring boot and my application is not on spring boot it is on spring version 4.3.2.

我需要帮助java中的服务和UI之间的无状态连接。

I need help for stateless connection between service and UI in java.

提前谢谢。




推荐答案

您好  Aniket11g , 

感谢您的查询。我们欢迎您使用Azure,您肯定可以将Java服务部署到azure云。当你说无国籍时,我不太清楚你指的是什么用例。我相信你必须请求一个访问令牌,并在
客户端设置一个cookie,用于访问该应用程序的任何人,然后在令牌的生命周期内重用该cookie。一旦令牌变为无效,您可能需要再次请求新令牌。 

Thank you for your query. We welcome you to Azure and you can surely deploy the Java service to azure cloud. I am not quite sure what use case you are referring when you say stateless. I believe you have to request an access token and set a cookie on the client side for whoever is accessing the application and then reuse that cookie for the token's lifetime . Once token becomes invalid , you may have to request a new token again . 

我知道许多示例适用于春季启动。但是,也有一些java示例。我不确定春天的例子是否具体,但同样的逻辑/概念也适用于此。 请检查以下
以下网址的示例,找到与您的用例匹配的内容。 

I understand that many examples are for spring boot . However , there are some java examples as well. I am not sure if spring examples are specifically there but the same logic/concepts can be applied to that as well.  Please check the samples at the below URL to find something that matches your use case. 

Azure Java样本

Azure Java示例文档 

您可能需要花一些时间了解上述信息链接和测试相同,我希望你根据自己的要求找到一些东西。 希望这些信息对您有所帮助。 

You may need to spend some time through the information on the above links and test the same and I hope you find something as per your requirement .  Hope the information helps you . 

谢谢。 


这篇关于Azure Webapp安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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