public abstract class CsrfSessionTokenFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM
Set the default length of the random key used for the csrf session token.
|
static int |
RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM_DEFAULT |
Constructor and Description |
---|
CsrfSessionTokenFactory() |
Modifier and Type | Method and Description |
---|---|
abstract String |
createToken(FacesContext context) |
@JSFWebConfigParam(since="2.2.0", defaultValue="16", group="state") public static final String RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM
public static final int RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM_DEFAULT
public abstract String createToken(FacesContext context)
Copyright © 2021 The Apache Software Foundation. All rights reserved.