Richard Eckart de Castilho

Results 872 comments of Richard Eckart de Castilho

I prefer a declarative approach to the build like it is provided by `pyproject.toml` versus the programmatic approach adopted by `setup.py`. I have briefly tried using `pyproject.toml` with `setuptools` as...

So far, all I had to do was `pip install poetry`. At least locally, I never work without venvs. With the GH actions, I didn't have trouble with PyCaprio either.

> So you will need to use a second virtual environment to manage poetry itself. Meh... 👎 😐 Are there sensible alternatives to setuptools and poetry that could be considered?...

Sounds like a useful idea and should be easy to implement.

@Erfans sure, happy for it! Please make sure to check out our [contribution guidelines](http://dkpro.github.io/contributing/) when you do so.

Has anybody figured out how to do expression-based authentication with WebSocket in Spring 6?

This eventually worked for me: Source: https://github.com/inception-project/inception/blob/eb6262d6020e914831e677d971aa1cb4641a0d8a/inception/inception-support/src/main/java/de/tudarmstadt/ukp/inception/support/http/ServerTimingWatch.java ``` import java.util.function.Supplier; import org.springframework.expression.Expression; import org.springframework.security.access.expression.ExpressionUtils; import org.springframework.security.access.expression.SecurityExpressionHandler; import org.springframework.security.authorization.AuthorizationDecision; import org.springframework.security.authorization.AuthorizationManager; import org.springframework.security.core.Authentication; import org.springframework.security.messaging.access.intercept.MessageAuthorizationContext; public class MessageExpressionAuthorizationManager implements AuthorizationManager> expressionHandler;...

> The main reason this does not exist in the MessageMatcherDelegatingAuthorizationManager is that we'd like to encourage people to move away from SpEL in their web authorization rules and use...

@jzheaux if your idea is to migrate away from the expressions and instead move to people using bespoke AuthorizationManagers for all kinds of stuff, having this in as a PR...