java - One security concept for multiple wars on embedded jetty -


i have embedded jetty server multiple wars. each war 1 part of 1 web application. goal add same security wars. preferred security mechanism spring security.

there might 2 solutions:

a) define security in each war.

i define servlet filter in each web.xml. problem: how can use same security among different wars? redundancy: have add same config web.xml.

b) define security filter path /*

how can set spring security filter on jetty?

what using apache shiro. see shiro vs. springsecurity further information.

super simple application security apache shiro les hazlewood great introductory screencast.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -