public class CsrfSessionTokenFactoryRandom extends CsrfSessionTokenFactory
RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM, RANDOM_KEY_IN_CSRF_SESSION_TOKEN_LENGTH_PARAM_DEFAULT
Constructor and Description |
---|
CsrfSessionTokenFactoryRandom(FacesContext facesContext) |
Modifier and Type | Method and Description |
---|---|
String |
createToken(FacesContext context) |
protected Integer |
generateCounterKey(FacesContext facesContext) |
protected byte[] |
generateKey(FacesContext facesContext) |
public CsrfSessionTokenFactoryRandom(FacesContext facesContext)
protected Integer generateCounterKey(FacesContext facesContext)
protected byte[] generateKey(FacesContext facesContext)
public String createToken(FacesContext context)
createToken
in class CsrfSessionTokenFactory
Copyright © 2021 The Apache Software Foundation. All rights reserved.