public class CookieParser extends Object
| Constructor and Description |
|---|
CookieParser(String value,
String secret,
boolean encrypted) |
| Modifier and Type | Method and Description |
|---|---|
static CookieParser |
create(io.undertow.server.HttpServerExchange exchange,
String cookieName,
String secret,
boolean encrypted) |
String |
getAuthenticatedUser() |
String |
getAuthenticityToken() |
LocalDateTime |
getExpiresDate() |
Map<String,String> |
getSessionValues() |
boolean |
hasValidAuthenticationCookie() |
boolean |
hasValidSessionCookie() |
public static CookieParser create(io.undertow.server.HttpServerExchange exchange, String cookieName, String secret, boolean encrypted)
public boolean hasValidSessionCookie()
public boolean hasValidAuthenticationCookie()
public String getAuthenticityToken()
public LocalDateTime getExpiresDate()
public String getAuthenticatedUser()
Copyright © 2016. All rights reserved.