[英]Spring Security Config Https issue
我是Spring的新手。 我有一个关于配置的问题,以便在登录后允许https重定向。 我正在将Vmware vfabric tc服务器用作Web服务器。
在app-security-context.xml
中,http块中有一个警告。 该警告是:
Referenced bean 'org.springframework.security.web.access.channel.
ChannelDecisionManagerImpl' not found
[config set: PresentationLayer/ web-context]
因此,当我尝试登录时,浏览器中会显示一条错误消息“该页面不可用”
我不确定您的问题是否来自该警告(仅是警告)。 部署应用程序时,看不到任何错误跟踪吗?
无论如何,您可以通过在安全上下文中添加几行来删除该警告。 例如:
<bean class="org.springframework.security.web.access.channel.ChannelDecisionManagerImpl">
<property name="channelProcessors">
<list>
<bean class="org.springframework.security.web.access.channel.SecureChannelProcessor" />
<bean class="org.springframework.security.web.access.channel.InsecureChannelProcessor" />
</list>
</property>
</bean>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.