LDAP Attribute to Keycloak Role
by Adrian Madaras
Hi everybody,
I am trying to map a user attribute named 'sRoles' from LDAP to Roles in Keycloak.Is this possible? I could not find any reference regarding this online and I think it's a subject that a lot of people would be interested in.
Thanks in advance,
Adrian
7 years, 11 months
StackOverflowError when logging in to AdminConsole after upgrading to 2.5.0.Final
by Martin Johansson
Hi,
We’re using the keycloak-postgres docker container. After upgrading to from
2.4.0.Final to 2.5.0.Final, we’re unable to login to the administration
console. When we log in, the exception in the end of this mail appears. Any
help on understanding why this happens would be much appreciated.
BR,
Martin
11:01:32,434 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025:
Keycloak 2.5.0.Final (WildFly Core 2.0.10.Final) started in 12203ms -
Started 427 of 801 services (542 services are lazy, passive or on-demand)
11:02:11,949 ERROR [io.undertow.request] (default task-51) UT005023:
Exception handling request to
/auth/realms/master/login-actions/authenticate:
org.jboss.resteasy.spi.UnhandledException: java.lang.StackOverflowError
at
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
at
org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
at
org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:168)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:411)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at
org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:90)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StackOverflowError
at
org.keycloak.models.cache.infinispan.RoleAdapter.getComposites(RoleAdapter.java:135)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:182)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1569)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.keycloak.models.utils.KeycloakModelUtils.searchFor(KeycloakModelUtils.java:185)
at
org.keycloak.models.cache.infinispan.RoleAdapter.hasRole(RoleAdapter.java:179)
at
org.keycloak.models.utils.KeycloakModelUtils.lambda$searchFor$0(KeycloakModelUtils.java:184)
--
Martin Johansson
Metrical AB
+46 73-338 91 18
martin.johansson(a)metrical.se | LinkedIn
<http://www.linkedin.com/in/workwithmartinjohansson>
7 years, 11 months
Policies seem to go corrupt, version 2.5.0
by Ushanas Shastri
Hello,
I've created scope based permissions tied to role based policies. Any new
permission or policy we create, all looks right, but we find random
instances of policies that deny authorization, and when we want to
investigate, we can't even see the details of the policy. It shows up in
the list, but clicking on it takes us to a resource nor found page.
Any ideas on what may be happening here?
Regards, Ushanas.
7 years, 11 months
Issues in integrating UserStorageProvider with Hazelcast
by Deepu Laghuvaram
I am trying to integrate Hazelcast in my UserStorageProvider and I am
getting the error as below,
5:01:35,028 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool
-- 51) MSC000001: Failed to start service
jboss.undertow.deployment.default-server.default-host./auth:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-server.default-host./auth:
java.lang.RuntimeException: RESTEASY003325: Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct
public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)
at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)
at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)
at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)
at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)
at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
... 6 more
Caused by: java.lang.NoClassDefFoundError: sun/misc/Unsafe
at com.hazelcast.nio.UnsafeHelper.findUnsafe(UnsafeHelper.java:176)
at com.hazelcast.nio.UnsafeHelper.findUnsafeIfAllowed(UnsafeHelper.java:149)
at com.hazelcast.nio.UnsafeHelper.<clinit>(UnsafeHelper.java:78)
at com.hazelcast.util.counters.SwCounter.newSwCounter(SwCounter.java:66)
at com.hazelcast.util.counters.SwCounter.newSwCounter(SwCounter.java:56)
at
com.hazelcast.spi.impl.operationservice.impl.InvocationRegistry.<init>(InvocationRegistry.java:72)
at
com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.<init>(OperationServiceImpl.java:147)
at com.hazelcast.spi.impl.NodeEngineImpl.<init>(NodeEngineImpl.java:104)
at com.hazelcast.instance.Node.<init>(Node.java:177)
at
com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:125)
at
com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160)
at
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:143)
at
com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:111)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at
com.lb.storage.hazelcast.HazelcastInstanceProvide.getInstance(HazelcastInstanceProvide.java:10)
at
com.lb.storage.user.DB2UserStorageProvider.<clinit>(DB2UserStorageProvider.java:61)
at
com.lb.storage.user.DB2UserStorageProviderFactory.create(DB2UserStorageProviderFactory.java:32)
at
com.lb.storage.user.DB2UserStorageProviderFactory.create(DB2UserStorageProviderFactory.java:24)
at
org.keycloak.storage.UserStorageManager.getStorageProviderInstance(UserStorageManager.java:80)
at
org.keycloak.storage.UserStorageManager.getStorageProviders(UserStorageManager.java:96)
at
org.keycloak.storage.UserStorageManager.getUsersCount(UserStorageManager.java:369)
at
org.keycloak.models.cache.infinispan.UserCacheSession.getUsersCount(UserCacheSession.java:580)
at
org.keycloak.services.managers.ApplianceBootstrap.isNoMasterUser(ApplianceBootstrap.java:55)
at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)
... 19 more
Caused by: java.lang.ClassNotFoundException: sun.misc.Unsafe
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 48 more
I have added module.xml in location
keycloak-2.5.0.Final/modules/system/layers/base/io/netty/main. Not sure if
thats the correct location.
in my module.xml I have added as
<module name="sun.jdk">
<imports>
<include path="sun/misc/Unsafe" />
</imports>
Still I am getting same error. Please help with this.
Thanks,
Deepu
7 years, 11 months
Fwd: SAML HTTP-Redirect Logout Configuration
by Brian Thai
On 21 January 2017 at 01:00, Brian Thai <brian(a)excelwithbusiness.com> wrote:
> Hi,
>
> The php SAML libraries that I am using are HTTP-Redirect binding only for
> the single logout service. I have tried a few different configurations but
> I seem to be missing something. If I do not configure a HTTP-Post binding
> for the SLS, I get "KC-SERVICES0051: Failed to logout client, continuing:
> java.lang.NullPointerException". If I do have HTTP-Post configured, it is
> not a valid endpoint in my api using the php SAML library. Can Keycloak
> support HTTP-Redirect binding for logout? If so, do you know where I can
> get a working configuration to see what I am missing?
>
> Thanks!
> -Brian
>
7 years, 11 months
Kaycloak SAML and clustering
by Pulkit Gupta
Hi All,
I was not able to find any documentation around this and hence wanted to
check it here.
Does the keycloak SAML client adapter for JBoss supports clustering.
We are running in a cluster environment with session replication working
absolutely fine.
All the apps not using the SAML adapter are working fine but not the ones
using the adapter. Does any one has seen such issue earlier.
--
Thanks,
Pulkit
AMS
7 years, 11 months
How to find the device type on the Keycloak Authentication Pages?
by Deepu Laghuvaram
My application is having different styles for Mobile view and Desktop view,
where some of them are responsive and some of them are not, so we are
trying to implement different styles on Login, Registration and Forgot
password pages, what is the best way to fetch the device type on these
pages?
Thanks,
Deepu
7 years, 11 months
Stateful per-realm objects
by Dmitry Telegin
Hi,
A new login protocol endpoint instance is created each time per-
request (o.k.protocol.LoginProtocolFactory::createProtocolEndpoint). I
need all the instances to have access to a shared, per-realm stateful
object.
(Background: I'm implementing OpenID 2.0 for Keycloak using openid4java
library. There, the central concept is ServerManager, a per-endpoint
singleton that stores cryptographic associations and other shared
data.)
Just wondering if there's already similar mechanism in Keycloak. It
shouldn't be that hard to implement a singleton registry, but it'd
prefer not to reinvent the wheel.
Thanks!
Dmitry
7 years, 11 months