Replies: 1 comment 5 replies
-
@wjans thank you for your suggestion. That nicely fits into the recent requests for being better able to support different AS4 profiles for different use cases in the same solution. However, the But for the majority of cases, like for Spring Boot or classical WAR based applications it might be a good choice. |
Beta Was this translation helpful? Give feedback.
-
Hi @phax ,
The
com.helger.phase4.servlet.AS4XServletHandler
currently accepts aSupplier<? extends IAS4CryptoFactory>
. If I understand correctly, this has been implemented to allow for resolving a crypto factory for each incoming document.Would it be an idea/feasible to also accept a
Function
to which the request context can be provided? Something likeFunction<? extends IRequestWebScopeWithoutResponse, ? extends IAS4CryptoFactory>
?This could be nice in scenario's where providing the correct crypto factory would rely on the incoming document request.
Beta Was this translation helpful? Give feedback.
All reactions