[
https://issues.apache.org/jira/browse/KNOX-2747?focusedWorklogId=775464&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-775464
]
ASF GitHub Bot logged work on KNOX-2747:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/May/22 10:59
Start Date: 27/May/22 10:59
Worklog Time Spent: 10m
Work Description: zeroflag merged PR #581:
URL: https://github.com/apache/knox/pull/581
Issue Time Tracking
-------------------
Worklog Id: (was: 775464)
Time Spent: 40m (was: 0.5h)
> RemoteAliasService generates password without checking if it already exists
> ---------------------------------------------------------------------------
>
> Key: KNOX-2747
> URL: https://issues.apache.org/jira/browse/KNOX-2747
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> RemoteAliasService:
> {code}
> /* Generate a new password */
> if (generate) {
> generateAliasForCluster(clusterName, alias);
> }
> {code}
> DefaultAliasService checks first
> {code}
> credential = keystoreService.getCredentialForCluster(clusterName,
> alias);
> if (credential == null && generate) {
> generateAliasForCluster(clusterName, alias);
> credential = keystoreService.getCredentialForCluster(clusterName,
> alias);
> }
> {code}
> This causes the Pac4jDispatcherFilter to regenerate the password at each
> topology change.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)