[JBoss JIRA] (ISPN-4396) DSL Query: right condition lost
by Radim Vansa (JIRA)
Radim Vansa created ISPN-4396:
---------------------------------
Summary: DSL Query: right condition lost
Key: ISPN-4396
URL: https://issues.jboss.org/browse/ISPN-4396
Project: Infinispan
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Embedded Querying
Affects Versions: 7.0.0.Alpha4
Reporter: Radim Vansa
Assignee: Adrian Nistor
Condition created through query like this:
{code}
Query q = qf.from(User.class)
.not(
qf.having("name").eq("John")
.or(qf.having("surname").eq("Man")))
.toBuilder().build();
{code}
is not correctly parsed into JPQL query; it is
{code}
FROM org.infinispan.query.dsl.embedded.sample_domain_model.User _gen0 WHERE NOT (_gen0.name = 'John')
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (ISPN-4394) AuthorizationHelper breaks many auth action throwing NPE
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4394?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4394:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha5
7.0.0.Final
Resolution: Done
> AuthorizationHelper breaks many auth action throwing NPE
> --------------------------------------------------------
>
> Key: ISPN-4394
> URL: https://issues.jboss.org/browse/ISPN-4394
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
> Fix For: 7.0.0.Alpha5, 7.0.0.Final
>
>
> When performing some auth action (tried with HR client and everything seems to be broken), server fails with following NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.infinispan.security.impl.AuthorizationHelper.getSubjectUserPrincipal(AuthorizationHelper.java:106)
> at org.infinispan.security.impl.DefaultAuditLogger.audit(DefaultAuditLogger.java:24)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:61)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:69)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:74)
> at org.infinispan.manager.DefaultCacheManager.addListener(DefaultCacheManager.java:656)
> at org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.addListener(AbstractDelegatingEmbeddedCacheManager.java:156)
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:50)
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:47)
> at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions.registerAndStartContainer(SecurityActions.java:58)
> at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService.start(EmbeddedCacheManagerService.java:68)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (ISPN-4394) AuthorizationHelper breaks many auth action throwing NPE
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-4394?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-4394:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2631
> AuthorizationHelper breaks many auth action throwing NPE
> --------------------------------------------------------
>
> Key: ISPN-4394
> URL: https://issues.jboss.org/browse/ISPN-4394
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
>
> When performing some auth action (tried with HR client and everything seems to be broken), server fails with following NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.infinispan.security.impl.AuthorizationHelper.getSubjectUserPrincipal(AuthorizationHelper.java:106)
> at org.infinispan.security.impl.DefaultAuditLogger.audit(DefaultAuditLogger.java:24)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:61)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:69)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:74)
> at org.infinispan.manager.DefaultCacheManager.addListener(DefaultCacheManager.java:656)
> at org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.addListener(AbstractDelegatingEmbeddedCacheManager.java:156)
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:50)
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:47)
> at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
> at org.jboss.as.clustering.infinispan.subsystem.SecurityActions.registerAndStartContainer(SecurityActions.java:58)
> at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService.start(EmbeddedCacheManagerService.java:68)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (ISPN-4381) Provide config parts for different schema versions RollingUpgrades tests
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-4381?page=com.atlassian.jira.plugin.... ]
Martin Gencur updated ISPN-4381:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2630
> Provide config parts for different schema versions RollingUpgrades tests
> ------------------------------------------------------------------------
>
> Key: ISPN-4381
> URL: https://issues.jboss.org/browse/ISPN-4381
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Test Suite - Server
> Affects Versions: 7.0.0.Alpha4
> Reporter: Tomas Sykora
> Assignee: Tomas Sykora
> Fix For: 7.0.0.Alpha5
>
>
> We can run rolling upgrades from version X to version Y.
> The thing is that different versions have different urn:infinispan:server:endpoint:?.? and urn:infinispan:server:core:?.? versions.
> We need to reflect that in rolling upgrades tests... we will set up defaults, but we will also need to pass properties like:
> -Dold.server.schema.version (e.g. 6.0)
> -Dnew.server.schema.version (e.g. 7.0)
> Also test reports will safe logs with respective affixes.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (ISPN-4381) Provide config parts for different schema versions RollingUpgrades tests
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-4381?page=com.atlassian.jira.plugin.... ]
Martin Gencur updated ISPN-4381:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha5
Resolution: Done
> Provide config parts for different schema versions RollingUpgrades tests
> ------------------------------------------------------------------------
>
> Key: ISPN-4381
> URL: https://issues.jboss.org/browse/ISPN-4381
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Test Suite - Server
> Affects Versions: 7.0.0.Alpha4
> Reporter: Tomas Sykora
> Assignee: Tomas Sykora
> Fix For: 7.0.0.Alpha5
>
>
> We can run rolling upgrades from version X to version Y.
> The thing is that different versions have different urn:infinispan:server:endpoint:?.? and urn:infinispan:server:core:?.? versions.
> We need to reflect that in rolling upgrades tests... we will set up defaults, but we will also need to pass properties like:
> -Dold.server.schema.version (e.g. 6.0)
> -Dnew.server.schema.version (e.g. 7.0)
> Also test reports will safe logs with respective affixes.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (ISPN-4394) AuthorizationHelper breaks many auth action throwing NPE
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-4394:
-------------------------------------
Summary: AuthorizationHelper breaks many auth action throwing NPE
Key: ISPN-4394
URL: https://issues.jboss.org/browse/ISPN-4394
Project: Infinispan
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Vojtech Juranek
Assignee: Vojtech Juranek
When performing some auth action (tried with HR client and everything seems to be broken), server fails with following NPE:
{noformat}
Caused by: java.lang.NullPointerException
at org.infinispan.security.impl.AuthorizationHelper.getSubjectUserPrincipal(AuthorizationHelper.java:106)
at org.infinispan.security.impl.DefaultAuditLogger.audit(DefaultAuditLogger.java:24)
at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:61)
at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:69)
at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:74)
at org.infinispan.manager.DefaultCacheManager.addListener(DefaultCacheManager.java:656)
at org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.addListener(AbstractDelegatingEmbeddedCacheManager.java:156)
at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:50)
at org.jboss.as.clustering.infinispan.subsystem.SecurityActions$2.run(SecurityActions.java:47)
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
at org.jboss.as.clustering.infinispan.subsystem.SecurityActions.registerAndStartContainer(SecurityActions.java:58)
at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService.start(EmbeddedCacheManagerService.java:68)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
... 3 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months