Custom Authentication
I'm trying to write a Java class to deal with custom authentication for Cascade 6.7.2, but I'm not sure how the redirect() method works. I understand that I need to return true if I want a redirection to occur, but I'm not clear on how to specify where to redirect to or how to set the status code. Do I simply call the setStatus() method to choose the status code and call setHeader() to set the HTTP Location header?
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by Mike on 22 Sep, 2010 08:44 PM
Hi Joel,
You'll want to use the sendRedirect(String url) method on the response object, that is passed as a parameter to redirect(), to do the actual redirect.
So your code would look something like this:
Tim closed this discussion on 06 Oct, 2010 02:30 PM.