|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.tobago.webapp.Secret
public class Secret
Method Summary | |
---|---|
static boolean |
check(FacesContext facesContext)
Checks that the request contains a parameter KEY
which is equals to a secret value in the session. |
static void |
create(HttpSession session)
Create a secret attribute in the session. |
static void |
encode(FacesContext facesContext,
TobagoResponseWriter writer)
Encode a hidden field with the secret value from the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean check(FacesContext facesContext)
KEY
which is equals to a secret value in the session.
public static void encode(FacesContext facesContext, TobagoResponseWriter writer) throws java.io.IOException
java.io.IOException
public static void create(HttpSession session)
HttpSessionListener
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |