Class Secret

    • Field Detail

      • KEY

        public static final String KEY
    • Constructor Detail

      • Secret

        public Secret()
    • Method Detail

      • 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()