Spring Projects Issues
Spring Projects Issues
**[Mark Paluch](https://jira.spring.io/secure/ViewProfile.jspa?name=mp911de)** commented Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the...
**[zhou-hao](https://jira.spring.io/secure/ViewProfile.jspa?name=zhou-hao)** commented spring-data-redis:2.2.5-RELEASE redis: 5.0.4 reproduceable example: public static void main(String[] args) { LettuceClientConfiguration clientConfiguration= LettuceClientConfiguration.builder() .commandTimeout(Duration.ofMillis(1)) //mock timeout .build(); LettuceConnectionFactory factory = new LettuceConnectionFactory(new RedisStandaloneConfiguration("localhost", 6379),clientConfiguration); factory.afterPropertiesSet(); operations =...
**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented What exactly are you missing in `QueryDslRepositorySupport`? It basically allows you to call `from(SiteAccessRequest.class).where( SiteAccessRequestExpressions.byExample(criteria))…` and by that move that logic into the repository layer if desired
**[Andrei Ivanov](https://jira.spring.io/secure/ViewProfile.jspa?name=shadow)** commented Well, at least `QueryDslJpaRepository.findAll(Predicate predicate, Pageable pageable)` content I would have to copy/paste in my own method. Then `from(SiteAccessRequest.class)` doesn't seem to work, as `QueryDslRepositorySupport.from` expects an...
**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented My mistake, I am not near any IDE right now. I guess it expects a Querydsl root path then. Something from the meta-model it generates, like QUser.user...
**[Andrei Ivanov](https://jira.spring.io/secure/ViewProfile.jspa?name=shadow)** commented At least for what I'm doing now, I think so. Even for a simple query I think it would be nice to get an example in the...
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...
**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented Generally speaking we've come to the conclusion that fine grained security constraints inside a resource is creating more trouble than it actually solves. What policy should be...
**[Christopher Klein](https://jira.spring.io/secure/ViewProfile.jspa?name=schakko)** commented Using a ResourceProcessor for this seems feasible. I still have two questions: 1. In your pseudo code the createProjection(...) returns a type of the given projection interface....
**[Thomas Darimont](https://jira.spring.io/secure/ViewProfile.jspa?name=thomasd)** commented Nice idea: ```java @PostAuthorize("#principal.getId() == subject.getUserId()") @Projection(type=User.class) interface UserWithToken { long getUserId(); String getSecretToken(); } ``` Just thought about something similar: One could use `@Secured` on your...