【问题标题】:Restrict access to modules deployment console in alfresco 5.0.d在 alfresco 5.0.d 中限制对模块部署控制台的访问
【发布时间】:2015-04-07 16:54:55
【问题描述】:

在 Alfresco 5.0.d 中,即使是匿名用户也可以访问部署控制台 http://localhost:8080/share/service/modules/deploy - 我该如何保护它?

【问题讨论】:

  • 我在 Alfresco Community 5.0.d 上试过,但它要求我提供用户名/密码。您能否详细说明您的尝试?

标签: share alfresco


【解决方案1】:

默认情况下,模块部署页面(与 service/ 下的其他 Surf webscripts 一样)仅限于管理员。

有关设置管理员身份验证要求的 webscript 描述符文件,请参见此处:https://github.com/Alfresco/community-edition/blob/master/projects/surf/spring-surf/spring-surf/src/main/resources/webscripts/extensibility/moduleDeployment.get.desc.xml

<webscript>
  <shortname>Module Deployment Status</shortname><description>Displays the current module deployment status.</description>
  <url>/modules/deploy</url>
  <family>ModuleDeployment</family>
  <lifecycle>internal</lifecycle>
  <authentication>admin</authentication>
</webscript>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-06
    • 2021-02-01
    • 2019-12-11
    • 1970-01-01
    相关资源
    最近更新 更多