Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Cosmetic
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Provenance:Refactorization
-
Issue discovered during:Another issue
Description
The method CryptoTokenManagementSessionBean.assertAuthorization takes a cryptoTokenId parameter (which is not used at all) and a resource parameter (which also includes the cryptoTokenId)
This method and calls to it should be refactored. Either by removing the cryptoTokenId parameter, or by passing a partial resource parameter without the cryptoTokenId appended to it.