public class WebXmlMappableAttributesRetriever
extends java.lang.Object
implements org.springframework.context.ResourceLoaderAware, org.springframework.security.core.authority.mapping.MappableAttributesRetriever, org.springframework.beans.factory.InitializingBean
getMappableAttributes().| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
WebXmlMappableAttributesRetriever() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Loads the web.xml file using the configured ResourceLoader and parses the
role-name elements from it, using these as the set of mappableAttributes.
|
java.util.Set<java.lang.String> |
getMappableAttributes() |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwarepublic java.util.Set<java.lang.String> getMappableAttributes()
getMappableAttributes in interface org.springframework.security.core.authority.mapping.MappableAttributesRetrieverpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception