I am attempting to map Roles that have been assigned by AD to Opennms
groups to have node restrictions in place. I have found a few references
online but do not appear to be working and by what I can see it is because
the suggestions are for spring security 2 not 3 that I am running.

Does anyone have any ideas I have tried

<beans:bean id="authFilterEnabler"
class="org.opennms.web.springframework.security.AuthRoleToOnmsGroupMapFilterEnabler">
 <custom-filter position="LAST"/>
 <beans:property name="filterManager" ref="filterManager" />
 <beans:property name="roleToOnmsGroupMap">
 <beans:map>
 <beans:entry>
 <beans:key><beans:value>ROLE_GRP1</beans:value></beans:key>
 <beans:list>
 <beans:value>GRP1</beans:value>
 </beans:list>
 </beans:entry>
 <beans:entry>
 <beans:key><beans:value>ROLE_GRP2</beans:value></beans:key>
 <beans:list>
 <beans:value>GRP2</beans:value>
 </beans:list>
 </beans:entry>
 </beans:map>
 </beans:property>
 </beans:bean>

But it complains about a missing ref from custom-filter. I have tried using
ref="filterManager" but then fails with the following

Configuration problem: Security namespace does not support decoration of
element [custom-filter]
Offending resource: ServletContext resource
[/WEB-INF/applicationContext-spring-security.xml]

Any Suggestions?

Patrick
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to