jsf - Spring Security with PrimeFaces Dialog Framework -
i have web project uses spring security , primefaces.
i trying use primefaces dialog framework call xhtml file dialog .. problem when add line on web.xml:
<filter> <filter-name>springsecurityfilterchain</filter-name> <filter-class>org.springframework.web.filter.delegatingfilterproxy</filter-class> </filter> <filter-mapping> <filter-name>springsecurityfilterchain</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
the dialog box doesn't appear , if remove line above , dialog box being displayed .. if remove lines above , loose spring security feature .. configuration missed?
yes, spring security blocking frame generated primefaces. can make work adding following directive spring security configuration
http // ... .headers().frameoptions().sameorigin();
Comments
Post a Comment