Skip to content

Instantly share code, notes, and snippets.

@mente
Created September 7, 2011 08:43
Show Gist options
  • Save mente/1200074 to your computer and use it in GitHub Desktop.
Save mente/1200074 to your computer and use it in GitHub Desktop.
web application addition
<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="staticMethod" value="org.apache.shiro.SecurityUtils.setSecurityManager"/>
<property name="arguments" ref="webSecurityManager"/>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment