[ https://issues.apache.org/jira/browse/KNOX-3109?focusedWorklogId=962433&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-962433 ]
ASF GitHub Bot logged work on KNOX-3109: ---------------------------------------- Author: ASF GitHub Bot Created on: 18/Mar/25 23:21 Start Date: 18/Mar/25 23:21 Worklog Time Spent: 10m Work Description: lmccay commented on code in PR #1005: URL: https://github.com/apache/knox/pull/1005#discussion_r2002152636 ########## gateway-provider-security-jwt/src/test/java/org/apache/knox/gateway/provider/federation/JWTFederationFilterTest.java: ########## @@ -43,6 +43,10 @@ @SuppressWarnings("PMD.TestClassWithoutTestCases") public class JWTFederationFilterTest extends AbstractJWTFilterTest { + + private static final String BASIC_ = "Basic "; + private static final String BEARER_ = "Bearer "; Review Comment: Good call - let me fix that! Issue Time Tracking ------------------- Worklog Id: (was: 962433) Time Spent: 1h (was: 50m) > Passcode Tokens to use as Bearer Token > -------------------------------------- > > Key: KNOX-3109 > URL: https://issues.apache.org/jira/browse/KNOX-3109 > Project: Apache Knox > Issue Type: Improvement > Components: Server > Reporter: Larry McCay > Assignee: Larry McCay > Priority: Major > Fix For: 2.2.0 > > Time Spent: 1h > Remaining Estimate: 0h > > Currently, passcode tokens can only be used as passwords with HTTP Basic > authentication headers. > This change will enable them to be accepted as Authorization: Bearer tokens. > Will need to be able to distinguish between a JWT and a Passcode token when > presented as a Bearer token. -- This message was sent by Atlassian Jira (v8.20.10#820010)