Example usage for org.springframework.security.core.authority.mapping MappableAttributesRetriever interface-usage

List of usage examples for org.springframework.security.core.authority.mapping MappableAttributesRetriever interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.core.authority.mapping MappableAttributesRetriever interface-usage.

Usage

From source file org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever.java

/**
 * This <tt>MappableAttributesRetriever</tt> implementation reads the list of defined J2EE
 * roles from a <tt>web.xml</tt> file and returns these from {
 * {@link #getMappableAttributes()}.
 *
 * @author Ruud Senden

From source file org.jasig.springframework.security.portlet.authentication.PortletXmlMappableAttributesRetriever.java

/**
 * This <tt>MappableAttributesRetriever</tt> implementation reads the list of defined Portlet
 * roles from a <tt>portlet.xml</tt> file and returns these from {{@link #getMappableAttributes()}.
 * <p>If configured in a portlet application level context then all security-role-refs from all
 * portlets are merged into a single list. If configured in a portlet level context then only
 * the security-role-refs from that portlet are used in the list.