我刚刚创建了一个 Web 脚本来获取 Alfresco Share 的票。我所做的步骤是;
1. Created getticket.get.desc.xml
<webscript>
<shortname>Get User Ticket</shortname>
<description>Personalized greeting</description>
<url>/getticket</url>
<authentication>user</authentication>
<negotiate accept="text/html">html</negotiate>
<negotiate accept="application/json">json</negotiate>
</webscript>
2. created getticket.get.html.ftl
${session.getTicket()}
我正在尝试测试外部身份验证。如何在我的 jsp 页面或 java 代码中获取票证?