[JBoss JIRA] (ISPN-2575) KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2575?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-2575:
--------------------------------
Assignee: Adrian Nistor (was: Sanne Grinovero)
> KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
> -------------------------------------------------------------------------------------------
>
> Key: ISPN-2575
> URL: https://issues.jboss.org/browse/ISPN-2575
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Affects Versions: 5.2.0.Beta5
> Reporter: Anna Manukyan
> Assignee: Adrian Nistor
> Attachments: ClusteredCacheTest.java
>
>
> The case is the following:
> I have a clustered cache on which I want to perform a search. I'm doing the following:
> I'm initializing SearchManager on node1, I'm registering a custom key transformer for my key using the created searchmanager, but then when I'm trying to put data into the cache on node1 (which is in REPL_SYNC mode with cache on node2), I'm getting the exception:
> java.lang.IllegalArgumentException: Indexing only works with entries keyed on Strings, primitives and classes that have the @Transformable annotation - you passed in a class org.infinispan.query.test.CustomKey3. Alternatively, see org.infinispan.query.SearchManager#registerKeyTransformer
> When I'm initializing the SearchManager using node2 cache and register the keyTransformer on it as well, then everything works perfectly, even though I am not using the second created SearchManager.
> The test which reproduces the issue is attached to the jira. Please see the test case: testSearchKeyTransformer()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
1 week, 4 days
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti commented on ISPN-12765:
-------------------------------------
Reproduced provided in the PR
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 12.1.0.Final
>
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12765:
--------------------------------
Status: Open (was: New)
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 12.1.0.Final
>
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12765:
--------------------------------
Fix Version/s: 12.1.0.Final
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 12.1.0.Final
>
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12765:
--------------------------------
Description:
When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
was:
When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
Some uses like ```xsiteAdmin.checkSite(site)``` can't be used from the REST api without a wrapper that will check the subject in the request
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Priority: Blocker
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti reassigned ISPN-12765:
-----------------------------------
Assignee: Tristan Tarrant
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Assignee: Tristan Tarrant
> Priority: Blocker
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like *xsiteAdmin.checkSite(site)* can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12765:
--------------------------------
Description:
When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
Some uses like ```xsiteAdmin.checkSite(site)``` can't be used from the REST api without a wrapper that will check the subject in the request
was:
When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
Some uses like `xsiteAdmin.checkSite(site)` can't be used from the REST api without a wrapper that will check the subject in the request
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Priority: Blocker
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like ```xsiteAdmin.checkSite(site)``` can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (ISPN-12765) REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12765?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12765:
--------------------------------
Description:
When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
Some uses like `xsiteAdmin.checkSite(site)` can't be used from the REST api without a wrapper that will check the subject in the request
> REST API does not correctly handle authz for ADMIN in XSite, Query and Backups
> ------------------------------------------------------------------------------
>
> Key: ISPN-12765
> URL: https://issues.redhat.com/browse/ISPN-12765
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.1.Final
> Reporter: Katia Aresti
> Priority: Blocker
>
> When the REST api performs operations on XSite, Query and Backups that can be only done for ADMIN users, admin user subject is not correctly handled and is detected as null, so REST endpoints respond with Subject null lacks ADMIN permission.
> Some uses like `xsiteAdmin.checkSite(site)` can't be used from the REST api without a wrapper that will check the subject in the request
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months