|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplay.mvc.Controller
controllers.modules.cas.SecureCAS
public class SecureCAS
This class is a part of the play module secure-cas. It add the ability to check if the user have access to the request. If the user is note logged, it redirect the user to the CAS login page and authenticate it.
Field Summary |
---|
Fields inherited from class play.mvc.Controller |
---|
_currentReverse, flash, params, renderArgs, request, response, routeArgs, session, validation |
Constructor Summary | |
---|---|
SecureCAS()
|
Method Summary | |
---|---|
static void |
authenticate()
Action for the CAS return. |
static void |
fail()
Action when the user authentification or checking rights fails. |
static void |
filter()
Method that do CAS Filter and check rights. |
static void |
login()
Action for the login route. |
static void |
logout()
Action for the logout route. |
static void |
pgtCallBack()
Action for the proxy call back url. |
Methods inherited from class play.mvc.Controller |
---|
badRequest, checkAuthenticity, error, error, error, error, flash, forbidden, forbidden, getActionAnnotation, getControllerAnnotation, getControllerClass, getControllerInheritedAnnotation, notFound, notFound, notFoundIfNull, notModified, ok, parent, parent, parent, redirect, redirect, redirect, redirect, redirectToStatic, render, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderHtml, renderJSON, renderJSON, renderJSON, renderTemplate, renderTemplate, renderTemplate, renderText, renderText, renderXml, renderXml, reverse, suspend, suspend, template, template, todo, unauthorized, waitFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecureCAS()
Method Detail |
---|
public static void login() throws java.lang.Throwable
java.lang.Throwable
public static void logout() throws java.lang.Throwable
java.lang.Throwable
public static void fail() throws java.lang.Throwable
java.lang.Throwable
public static void authenticate() throws java.lang.Throwable
java.lang.Throwable
public static void pgtCallBack() throws java.lang.Throwable
java.lang.Throwable
public static void filter() throws java.lang.Throwable
java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |