Difference between revisions of "Porting Applications To Smartgears 4"

From Gcube Wiki
Jump to: navigation, search
(Created page with "'''How to move from Smartgears 3 to Smartgears 4''' The gCube security system has changed and a lot of classes have been removed or changed: * SecurityTokenProvider * ScopeP...")
 
Line 1: Line 1:
'''How to move from Smartgears 3 to Smartgears 4'''
+
 
 +
== '''How to move from Smartgears 3 to Smartgears 4''' ==
 +
 
  
 
The gCube security system has changed and a lot of classes have been removed or changed:
 
The gCube security system has changed and a lot of classes have been removed or changed:
  
 
* SecurityTokenProvider
 
* SecurityTokenProvider
* ScopePrvider
+
* ScopeProvider
 
* ScopeBean
 
* ScopeBean
 +
 +
 +
 +
= How to get Secret for specific context in a gCube Service =
 +
 +
 +
''ContextProvider.get().container().configuration().authorizationProvider().getSecretForContext(context);''

Revision as of 16:32, 4 January 2023

How to move from Smartgears 3 to Smartgears 4

The gCube security system has changed and a lot of classes have been removed or changed:

  • SecurityTokenProvider
  • ScopeProvider
  • ScopeBean


How to get Secret for specific context in a gCube Service

ContextProvider.get().container().configuration().authorizationProvider().getSecretForContext(context);