org.jasig.portlet.test.mvc.tests
Class IsUserInRoleTest
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.portlet.context.PortletApplicationObjectSupport
org.springframework.web.portlet.handler.PortletContentGenerator
org.springframework.web.portlet.mvc.AbstractController
org.jasig.portlet.test.mvc.tests.IsUserInRoleTest
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.mvc.Controller
public class IsUserInRoleTest
- extends org.springframework.web.portlet.mvc.AbstractController
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
|
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getRoles()
|
protected org.springframework.web.portlet.ModelAndView |
handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
|
| Methods inherited from class org.springframework.web.portlet.mvc.AbstractController |
handleActionRequest, handleActionRequestInternal, handleRenderRequest, isRenderWhenMinimized, isSynchronizeOnSession, setRenderWhenMinimized, setSynchronizeOnSession |
| Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator |
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession |
| Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport |
getPortletContext, getTempDir, isContextRequired, setPortletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsUserInRoleTest
public IsUserInRoleTest()
getRoles
public java.util.Map<java.lang.String,java.lang.String> getRoles()
- Returns:
- the roles
setRoles
public void setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
- Parameters:
roles - the roles to set
handleRenderRequestInternal
protected org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws java.lang.Exception
- Overrides:
handleRenderRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
- Throws:
java.lang.Exception
Copyright © 1998-2008 Java Architectures Special Interest Group. All Rights Reserved.