public class WebAuthorizer extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
WebAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
To prevent errors in SpringBeans.xml, we must verify that the specified
classname and its methods are actually present in the code.
|
String |
getClassname()
Get the Struts Action classname.
|
WebTaskFactory |
getTaskFactory(String methodName)
Get the Task Factory for a particular Struts Action method.
|
void |
setClassname(String classname)
Set the name of the Struts Action class that requires authorization.
|
void |
setMappings(Map<String,WebTaskFactory> mappings)
Set the mappings.
|
public void setClassname(String classname)
classname - the Struts Action classnamepublic void setMappings(Map<String,WebTaskFactory> mappings)
mappings - the set of mappings of Struts Action methods to Task Factoriespublic String getClassname()
public WebTaskFactory getTaskFactory(String methodName)
methodName - the name of the Struts Action methodpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionInitializingBean.afterPropertiesSet()Copyright © 2013 The Kuali Foundation. All Rights Reserved.