public class WebXmlMappableAttributesRetriever extends java.lang.Object implements org.springframework.context.ResourceLoaderAware, 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()
Implementations of this method should return a set of all string attributes which
can be mapped to GrantedAuthoritys.
|
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()
MappableAttributesRetrievergetMappableAttributes in interface MappableAttributesRetrieverpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception