org.jasig.portlet.test.mvc.tests
Class IsUserInRoleTest

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.portlet.context.PortletApplicationObjectSupport
          extended by org.springframework.web.portlet.handler.PortletContentGenerator
              extended by org.springframework.web.portlet.mvc.AbstractController
                  extended by 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

Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
IsUserInRoleTest()
           
 
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
 

Constructor Detail

IsUserInRoleTest

public IsUserInRoleTest()
Method Detail

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 © 2010 Jasig. All Rights Reserved.