[ 
https://issues.apache.org/jira/browse/HDDS-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai resolved HDDS-5303.
------------------------------------
    Resolution: Fixed

> OzoneDelegationTokenSecretManager breaks the interface contract of 
> S3SecretManager
> ----------------------------------------------------------------------------------
>
>                 Key: HDDS-5303
>                 URL: https://issues.apache.org/jira/browse/HDDS-5303
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Trivial
>
> S3SecretManager is a generic interface which supposed to return with the 
> secret key for one specific AWS access key id.
> It's a generic interface which may have multiple implementation.
> Unfortunately, it's not possible to use any implementation as 
> OzoneDelegationTokenSecretManager does an explicit cast to retrieve the 
> MetadataManager.
> Instead of breaking the abstract contract of interface it seems to be better 
> to directly inject the required MetadataManager to the  
> OzoneDelegationTokenSecretManager which makes it possible to use an 
> implementation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to