public class WebXmlMappableAttributesRetriever extends 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.
|
Set<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.ResourceLoaderAware
public Set<String> getMappableAttributes()
MappableAttributesRetriever
getMappableAttributes
in interface MappableAttributesRetriever
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
Copyright © 2015. All rights reserved.