| Package | Description |
|---|---|
| org.owasp.csrfguard | |
| org.owasp.csrfguard.token.service | |
| org.owasp.csrfguard.token.storage |
| Modifier and Type | Method and Description |
|---|---|
void |
CsrfGuard.onSessionCreated(LogicalSession logicalSession)
Method to be called by a logical session implementation when a new session is created.
|
void |
CsrfGuard.onSessionDestroyed(LogicalSession logicalSession)
Method to be called by a logical session implementation when a session is destroyed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TokenService.invalidate(LogicalSession logicalSession)
Invalidates the logical session and removes all tokens from the storage
|
| Modifier and Type | Method and Description |
|---|---|
LogicalSession |
LogicalSessionExtractor.extract(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns a logical session implementation based on the information extracted from the current HTTP request or null if that was not possible
|
LogicalSession |
LogicalSessionExtractor.extractOrCreate(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns a logical session implementation based on the information extracted from the current HTTP request or creates a new one
|
Copyright © 2025 OWASP. All rights reserved.