public class WebXmlMappableAttributesRetriever extends Object implements ResourceLoaderAware, MappableAttributesRetriever, 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.
|
Set<String> |
getMappableAttributes()
Implementations of this method should return a set of all string attributes which
can be mapped to GrantedAuthoritys.
|
void |
setResourceLoader(ResourceLoader resourceLoader) |
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader in interface ResourceLoaderAwarepublic Set<String> getMappableAttributes()
MappableAttributesRetrievergetMappableAttributes in interface MappableAttributesRetrieverpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException