I have a application in which I used struts1.2 and ejb2.1 now I want to add spring security using LDAP server in it. How to integrate Spring Security with struts1.2?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Integration shouldn't be different than any other web app.
You need the spring-security dependencies either the jars or the maven dependencies. I'll post the maven dependencies, if you don't use maven you can look the jars up from here: mvn browser
You need the
FilterChainProxy
defined in yourweb.xml
:You need your spring context locations defined in your
web.xml
:You need the ContextLoaderListener defined in your
web.xml
:Finally for a basic security config you can have a look at the petclinic tutotial app.
That should do it.