public static final class SecurityRequestPostProcessors.UserRequestPostProcessor extends Object implements org.springframework.test.web.servlet.request.RequestPostProcessor
Modifier and Type | Method and Description |
---|---|
org.springframework.mock.web.MockHttpServletRequest |
postProcessRequest(org.springframework.mock.web.MockHttpServletRequest request) |
SecurityRequestPostProcessors.UserRequestPostProcessor |
roles(String... roles)
Specify the roles of the user to authenticate as.
|
public SecurityRequestPostProcessors.UserRequestPostProcessor roles(String... roles)
public org.springframework.mock.web.MockHttpServletRequest postProcessRequest(org.springframework.mock.web.MockHttpServletRequest request)
postProcessRequest
in interface org.springframework.test.web.servlet.request.RequestPostProcessor
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.