Class Secret

java.lang.Object
org.apache.myfaces.tobago.webapp.Secret
All Implemented Interfaces:
Serializable

public final class Secret extends Object implements Serializable
See Also:
  • Field Details

    • KEY

      public static final String KEY
  • Constructor Details

    • Secret

      public Secret()
  • Method Details

    • getInstance

      public static Secret getInstance(javax.faces.context.FacesContext facesContext)
    • create

      public static void create(javax.servlet.http.HttpSession session)
      Create a secret attribute in the session. Should usually be called in a HttpSessionListener.
    • check

      public boolean check(String test)
    • getSecret

      public String getSecret()