mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-24 07:08:09 +08:00
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
xmlns:sec="http://www.springframework.org/schema/security"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="
|
|
http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context.xsd
|
|
http://www.springframework.org/schema/util
|
|
http://www.springframework.org/schema/util/spring-util.xsd
|
|
http://www.springframework.org/schema/mvc
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
|
http://www.springframework.org/schema/security
|
|
http://www.springframework.org/schema/security/spring-security.xsd">
|
|
|
|
|
|
<bean id="httpHeaderSupport" class="org.maxkey.authn.support.httpheader.HttpHeaderConfig">
|
|
<property name="enable" value="${config.support.httpheader.enable}"></property>
|
|
<property name="headerName" value="${config.support.httpheader.headername}"></property>
|
|
</bean>
|
|
|
|
<!-- HttpHeader Support -->
|
|
<mvc:interceptors>
|
|
<mvc:interceptor>
|
|
<mvc:mapping path="/*" />
|
|
<bean class="org.maxkey.authn.support.httpheader.HttpHeaderEntryPoint" />
|
|
</mvc:interceptor>
|
|
</mvc:interceptors>
|
|
|
|
</beans> |