Java 基本身份验证在WebSphere 7上不起作用
我想将基本身份验证添加到我的webapp中的Spring批处理管理控制台。 当我在本地的Tomcat上尝试这样做时,一切都很好。 身份验证工作正常。 另外,当我在我的客户机上部署应用程序时,WebSphere7上的测试和集成环境Basic Auth也在工作 但我的客户在婚前和现场环境中遇到了问题。也有WebSphere 7,但基本身份验证不起作用。我可以登录到批处理管理控制台和应用程序不询问我有关身份验证的详细信息 My web.xml conf:Java 基本身份验证在WebSphere 7上不起作用,java,spring,authentication,websphere-7,spring-batch-admin,Java,Spring,Authentication,Websphere 7,Spring Batch Admin,我想将基本身份验证添加到我的webapp中的Spring批处理管理控制台。 当我在本地的Tomcat上尝试这样做时,一切都很好。 身份验证工作正常。 另外,当我在我的客户机上部署应用程序时,WebSphere7上的测试和集成环境Basic Auth也在工作 但我的客户在婚前和现场环境中遇到了问题。也有WebSphere 7,但基本身份验证不起作用。我可以登录到批处理管理控制台和应用程序不询问我有关身份验证的详细信息 My web.xml conf: <security-constrain
<security-constraint>
<web-resource-collection>
<web-resource-name>Batch Admin</web-resource-name>
<url-pattern>/admin/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>batchAdminRole</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>batchAdminRole</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>default</realm-name>
</login-config>
批处理管理员
/管理员/*
删除
得到
邮递
放
batchAdminRole
batchAdminRole
基本的
违约
这是我的配置问题还是客户端在WS上没有正确配置。
我必须承认,我没有任何访问Pre和Live WS的权限。为我们建立另一个组织。但我可以要求他们进行配置检查,但现在我不知道应该问什么
我有一个线索,因为在测试和集成环境中并没有配置https,但在Pre和Live上启用了SSL。可以剪切基本身份验证。信息?
当我在配置了HTTPS的情况下启动Tomcat时,Basic Auth也在本地工作
我将非常感激任何提示 HTTPS与此无关。要求管理员启用“管理安全性”之外的“应用程序安全性”