Hi, Everyone
      I'm a new developer to CAS. I defined a spring boot controller as 
below.
@Slf4j
@RestController
@RequestMapping("/testcontroller")
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping(value = "/name", method = RequestMethod.GET)
    public String getName()
    {
        return "TestName";
     }
}

I can get "TestName" in CAS6.6. But I got the message "You do not have 
permission to view this page." after I access 
http://localhost:8080/cas/testcontroller/name.  Would you like to let know 
how to exclude /testcontroller from cas validation in CAS7.0? Thank you 
very much.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/961cd667-4771-41c5-b880-f0ef36d62194n%40apereo.org.

Reply via email to