| Package | Description |
|---|---|
| org.apache.nifi.web.security.cookie | |
| org.apache.nifi.web.security.csrf |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationCookieName |
ApplicationCookieName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationCookieName[] |
ApplicationCookieName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StandardApplicationCookieService.addCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName,
String value)
Generate cookie with specified value
|
void |
ApplicationCookieService.addCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName,
String value)
Generate cookie with specified value
|
void |
StandardApplicationCookieService.addSessionCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName,
String value)
Generate cookie with session-based expiration and specified value as well as SameSite Strict property
|
void |
ApplicationCookieService.addSessionCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName,
String value)
Generate cookie with session-based expiration and specified value
|
protected org.springframework.http.ResponseCookie.ResponseCookieBuilder |
StandardApplicationCookieService.getCookieBuilder(URI resourceUri,
ApplicationCookieName applicationCookieName,
String value,
Duration maxAge)
Get Response Cookie Builder with standard properties
|
Optional<String> |
StandardApplicationCookieService.getCookieValue(javax.servlet.http.HttpServletRequest request,
ApplicationCookieName applicationCookieName)
Get cookie value using specified name
|
Optional<String> |
ApplicationCookieService.getCookieValue(javax.servlet.http.HttpServletRequest request,
ApplicationCookieName applicationCookieName)
Get cookie value using specified name
|
void |
StandardApplicationCookieService.removeCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName)
Generate cookie with an empty value instructing the client to remove the cookie with a maximum age of 60 seconds
|
void |
ApplicationCookieService.removeCookie(URI resourceUri,
javax.servlet.http.HttpServletResponse response,
ApplicationCookieName applicationCookieName)
Generate cookie with an empty value instructing the client to remove the cookie
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseCookie.ResponseCookieBuilder |
StandardCookieCsrfTokenRepository.CsrfApplicationCookieService.getCookieBuilder(URI resourceUri,
ApplicationCookieName applicationCookieName,
String value,
Duration maxAge)
Get Response Cookie Builder with HttpOnly disabled allowing JavaScript to read value for subsequent requests
|
Copyright © 2023 Apache NiFi Project. All rights reserved.