public class WebXmlMappableAttributesRetriever extends Object implements ResourceLoaderAware, org.springframework.security.core.authority.mapping.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() |
void |
setResourceLoader(ResourceLoader resourceLoader) |
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
public Set<String> getMappableAttributes()
getMappableAttributes
in interface org.springframework.security.core.authority.mapping.MappableAttributesRetriever
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception