public class Secret extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static boolean |
check(javax.faces.context.FacesContext facesContext)
Checks that the request contains a parameter
KEY
which is equals to a secret value in the session. |
static void |
create(javax.servlet.http.HttpSession session)
Create a secret attribute in the session.
|
static void |
encode(javax.faces.context.FacesContext facesContext,
TobagoResponseWriter writer)
Encode a hidden field with the secret value from the session.
|
public static boolean check(javax.faces.context.FacesContext facesContext)
KEY
which is equals to a secret value in the session.public static void encode(javax.faces.context.FacesContext facesContext, TobagoResponseWriter writer) throws IOException
IOException
public static void create(javax.servlet.http.HttpSession session)
HttpSessionListener
.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.