updated for changes on smartgears

This commit is contained in:
lucio 2023-01-20 13:36:28 +01:00
parent 443d9cabd4
commit 7d96327512
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public class PublicLinkHandler {
try {
String infraContext = String.format("/%s", ContextProvider.get().container().configuration().infrastructure());
Secret infraSecret = ProviderFactory.provider().authorizationProvider().getSecretForContext(infraContext);
Secret infraSecret = ContextProvider.get().container().authorizationProvider().getSecretForContext(infraContext);
complexId = AuthorizedTasks.executeSafely(() -> {
return StringEncrypter.getEncrypter().decrypt(
@ -74,7 +74,7 @@ public class PublicLinkHandler {
private String getUrl(String toEnchript, String prefix, ServletContext context) throws BackendGenericError{
String infraContext = String.format("/%s", ContextProvider.get().container().configuration().infrastructure());
Secret infraSecret = ProviderFactory.provider().authorizationProvider().getSecretForContext(infraContext);
Secret infraSecret = ContextProvider.get().container().authorizationProvider().getSecretForContext(infraContext);
try {