Hopefully Luke can answer this
I am playing on the bleeding edge and doing research with Spring Sec 3.0M1. I'm trying to figure out if it's possible to write my own WebSecurityExpressionHandler class.
Looking at the source for HttpSecurityBeanDefinitionParser, it looks like I should be able to add the following within my <http> declaration:
... where myBean is a bean of the appropriate class. However, if I try this, I get a complaint from the SAX parser. Based on how the code is written, it looks like this is where it's expecting the element, however:Code:<expression-handler ref="myBean"/>
Is this a bug? Thanks in advance!Code:if (useExpressions) { Element expressionHandlerElt = DomUtils.getChildElementByTagName(element, Elements.EXPRESSION_HANDLER); String expressionHandlerRef = expressionHandlerElt == null ? null : expressionHandlerElt.getAttribute("ref");![]()




