smolnar82 opened a new pull request, #1082:
URL: https://github.com/apache/knox/pull/1082

   ## What changes were proposed in this pull request?
   
   From now on, when users want to see Token Management or Token Generation 
pages without a pre-configured `knox.token.hash.key` gateway-level alias, they 
are shown with the following pop-up windows:
   <img width="1721" height="595" alt="image" 
src="https://github.com/user-attachments/assets/d2ca2c47-fdb8-485d-b811-7f98bac336e7";
 />
   <img width="1699" height="652" alt="image" 
src="https://github.com/user-attachments/assets/62fbf831-52e8-46b2-a660-585a6559b4a8";
 />
   
   I also disabled the control-buttons on the Token Management page in that 
case, because it makes no sense to navigate to the Token Generation page or 
fetch tokens.
   
   This wasn't necessary on the Token Generation page, because the `Generate 
Token` button is already disabled when this happens.
   
   ## How was this patch tested?
   
   Manually tested with and without the `knox.token.hash.key` alias in the 
`__gateway` credential store. All worked as expected:
   - without it, the above pop-up windows were displayed
   - with proper configuration I could generate.manage tokens
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to