public final class Secret extends Object implements Serializable
Constructor and Description |
---|
Secret() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(String test) |
static void |
create(javax.servlet.http.HttpSession session)
Create a secret attribute in the session.
|
static Secret |
getInstance(javax.faces.context.FacesContext facesContext) |
String |
getSecret() |
public static final String KEY
public static Secret getInstance(javax.faces.context.FacesContext facesContext)
public static void create(javax.servlet.http.HttpSession session)
HttpSessionListener
.public boolean check(String test)
public String getSecret()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.