classes.org.grails.plugins.springsecurity.controller
Class AuthBaseTests

Field Summary
 AuthBase _authBase
           
 Map _params
           
 Map _redirectParams
           
 MockHttpServletRequest _request
           
 MockHttpServletResponse _response
           
 AuthenticateService _service
           
 Map _session
           
 
Constructor Summary
AuthBaseTests()
           
 
Method Summary
Authentication authenticate(def roles)
          
void setUp()
          
void tearDown()
          
void testBeforeInterceptorAsAdmin()
          
void testBeforeInterceptorCorrectRoles()
          
void testBeforeInterceptorLocaleParam()
          
void testBeforeInterceptorMissingRole()
          
void testBeforeInterceptorNotAuthenticated()
          
void testBeforeInterceptorSessionLocale()
          
void wireUpMetaClassMethods()
          
 

Constructor Detail

AuthBaseTests

AuthBaseTests()


Method Detail

authenticate

Authentication authenticate(def roles)


setUp

void setUp()


tearDown

void tearDown()


testBeforeInterceptorAsAdmin

void testBeforeInterceptorAsAdmin()


testBeforeInterceptorCorrectRoles

void testBeforeInterceptorCorrectRoles()


testBeforeInterceptorLocaleParam

void testBeforeInterceptorLocaleParam()


testBeforeInterceptorMissingRole

void testBeforeInterceptorMissingRole()


testBeforeInterceptorNotAuthenticated

void testBeforeInterceptorNotAuthenticated()


testBeforeInterceptorSessionLocale

void testBeforeInterceptorSessionLocale()


wireUpMetaClassMethods

void wireUpMetaClassMethods()