public class CookieAuthValveImpl extends BaseAuthValve
Title:
Description:
Copyright: Copyright (c) 2004
Company: Jahia Ltd
| Constructor and Description |
|---|
CookieAuthValveImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createAndSendCookie(AuthValveContext authContext,
JCRUserNode theUser,
CookieAuthConfig cookieAuthConfig) |
static String |
generateRandomString(int length)
Deprecated.
the mechanism to generate a random string is now using the
UUID class, so this method is of no use any more |
static String |
getAvailableCookieKey(CookieAuthConfig cookieAuthConfig) |
void |
initialize() |
void |
invoke(Object context,
ValveContext valveContext) |
protected static void |
sendCookie(String cookieUserKey,
AuthValveContext authContext,
JCRUserNode theUser,
CookieAuthConfig cookieAuthConfig) |
void |
setCookieAuthConfig(CookieAuthConfig config) |
equals, getId, hashCode, isEnabled, setBeanName, setEnabled, setIdpublic void invoke(Object context, ValveContext valveContext) throws PipelineException
PipelineExceptionpublic static void createAndSendCookie(AuthValveContext authContext, JCRUserNode theUser, CookieAuthConfig cookieAuthConfig)
protected static void sendCookie(String cookieUserKey, AuthValveContext authContext, JCRUserNode theUser, CookieAuthConfig cookieAuthConfig)
public static String getAvailableCookieKey(CookieAuthConfig cookieAuthConfig)
public void setCookieAuthConfig(CookieAuthConfig config)
@Deprecated public static String generateRandomString(int length)
UUID class, so this method is of no use any morepublic void initialize()
initialize in interface Valveinitialize in class BaseAuthValveCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.