我有一个基于Spring的Web应用程序,我想在其上实现单点登录解决方案.
基本流程将是:
1)用户登录Windows Workstation/Desktop PC(根据组织的Active Directory进行身份验证)
2)用户打开浏览器并导航到Spring Web App.
3)Spring Web App 以某种方式确认用户已经针对AD进行了身份验证并无缝地让他们进入.即没有用户名和密码的挑战.事实上,Spring Web应用程序永远不会显示登录表单.
显然这是第3步我遇到了麻烦.
我看过Spring Security,Kerberos,SPNEGO,但我想我只是迷茫了自己.
如果它有所作为我正在使用Java 6,在Jetty上运行Spring 3. Jetty实例将在*Nix机器上运行.
在Spring Webflow 2.0.x的上下文中......
我处理表单绑定"typemismatches",即尝试将String映射到Integer字段,通过在我的使用中使用以下内容 messages.properties
typeMismatch={0} contains invalid data.
Run Code Online (Sandbox Code Playgroud)
这很好用.
The problem is that if the field that the typeMismatch error occurred on was "required" then I also receive an error for the missing required field, which is logical I guess because the value that was submitted was never bound. ("Required" being defined in a Commons Validation XML file)
So, I dont want to see the "XXX is required field" error message when the field is only missing due to …
我有一个 Spring Boot 应用程序,可以自动启动 ActiveMQ 代理 (vm://localhost):它可以工作,我可以成功发送和接收消息。
我希望 Spring Boot 也启动ActiveMQ Web 控制台,例如http://localhost:8161/admin(就像它可以与 H2 数据库控制台一样)。
问题:如何让 Spring Boot 应用程序启动 ActiveMQ Web 控制台?
奖励积分:仅适用于特定的 Spring @profile?
提前致谢
注意:我已经查看了如何在 ActiveMq 嵌入式代理上启用 Web 控制台,但这需要使用我不想/无法使用的 hawtio。