Skip to content
Snippets Groups Projects

Add Quarkus 2.14.x support, general cleanup of deprecated calls

Files
14
@@ -69,20 +69,6 @@ public final class CSRFHelper {
}
}
/**
* Legacy method for comapring CSRF values using the session data object. This has been upgraded to be
* {@link CSRFHelper#compareCSRF(String, String)} to better accommodate distributed mode options.
*
* @param aud the session data for current user
* @param passedToken the passed CSRF header data
* @throws FinalUnauthorizedException when CSRF token is missing in the user data, the passed header value, or does
* not match
*/
@Deprecated(forRemoval = true)
public void compareCSRF(AdditionalUserData aud, String passedToken) {
compareCSRF(aud.getCsrf(), passedToken);
}
/**
* Compares the passed CSRF token to the token for the current user session.
*
Loading