|
spring-security-web | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever
public class WebXmlMappableAttributesRetriever
This MappableAttributesRetriever implementation reads the list of defined J2EE
roles from a web.xml file and returns these from {getMappableAttributes().
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
WebXmlMappableAttributesRetriever()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public WebXmlMappableAttributesRetriever()
| Method Detail |
|---|
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader in interface ResourceLoaderAwarepublic Set<String> getMappableAttributes()
getMappableAttributes in interface org.springframework.security.core.authority.mapping.MappableAttributesRetriever
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException
|
spring-security-web | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||