Skip to content

fix(config-api): session search endpoint throwing error #10148

@pujavs

Description

@pujavs

Describe the bug
'/session/search'

curl -k "https://example.jans.io/jans-config-api/api/v1/jans-auth-server/session/search?fieldValuePair=applicationType=web,persistClientAuthorizations=true" -H "Authorization: Bearer 70823991-32a5-4111-a02f-d33da1140e09

Server returns something like
h3>Caused by:

org.jboss.resteasy.spi.UnhandledException: io.jans.orm.exception.EntryPersistenceException: Failed to convert filter '(&(|(|(jansUsrDN=)(sid=)(jansSessAttr=)(jansPermissionGrantedMap=)(jansId=*)))(&(applicationType=web)(persistClientAuthorizations=true)))' to expression
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:105)
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:359)
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)

Metadata

Metadata

Assignees

Labels

comp-jans-config-apiComponent affected by issue or PReffort-3Relative effort required for completion of issue or PRkind-bugIssue or PR is a bug in existing functionalitypriority-3Issue or PR is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions