updated for changes on smartgears
This commit is contained in:
parent
443d9cabd4
commit
7d96327512
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue