[JBoss JIRA] (ISPN-11706) Use XidImpl internally
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11706?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11706:
-------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8274
> Use XidImpl internally
> ----------------------
>
> Key: ISPN-11706
> URL: https://issues.redhat.com/browse/ISPN-11706
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Transactions
> Affects Versions: 11.0.0.Dev04
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> We can use {{XidImpl}} to store external {{Xid}} in our internals. This way, we only need to handle one implementation internally that makes life easier with protostream.
> Action plan:
> * Remove {{EmbeddedXid}} and move generator code to {{EmbbededTransaction}}
> * Remove {{RemoteXid}} and move generator code to {{RemoteTransaction}}
> * Update {{XidImpl.copy()}}
> * Create protostream marshaller
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11706) Use XidImpl internally
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11706?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11706:
-------------------------------
Fix Version/s: 11.0.0.CR1
> Use XidImpl internally
> ----------------------
>
> Key: ISPN-11706
> URL: https://issues.redhat.com/browse/ISPN-11706
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Transactions
> Affects Versions: 11.0.0.Dev04
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> We can use {{XidImpl}} to store external {{Xid}} in our internals. This way, we only need to handle one implementation internally that makes life easier with protostream.
> Action plan:
> * Remove {{EmbeddedXid}} and move generator code to {{EmbbededTransaction}}
> * Remove {{RemoteXid}} and move generator code to {{RemoteTransaction}}
> * Update {{XidImpl.copy()}}
> * Create protostream marshaller
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11763) Make cache authorization roles declaration implicit
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11763?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11763:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8273
> Make cache authorization roles declaration implicit
> ---------------------------------------------------
>
> Key: ISPN-11763
> URL: https://issues.redhat.com/browse/ISPN-11763
> Project: Infinispan
> Issue Type: Enhancement
> Components: Security
> Affects Versions: 11.0.0.Dev05
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> Specifying cache authorization roles is a chore because a user must declare which global roles apply to each individual cache.
> By making the cache roles implicit, we can apply all roles declared in the global config to caches automatically:
> {code:xml}
> <cache-container>
> <security>
> <authorization>
> <identity-role-mapper/>
> <role name="AdminRole" permissions="ALL"/>
> <role name="ReaderRole" permissions="READ"/>
> <role name="WriterRole" permissions="WRITE"/>
> <role name="SupervisorRole" permissions="READ WRITE EXEC BULK_READ"/>
> </authorization>
> </security>
> <distributed-cache name="secure-implicit">
> <security><authorization/></security>
> </distributed-cache>
> <distributed-cache name="secure-explicit">
> <security><authorization roles="AdminRole ReaderRole WriterRole SupervisorRole"/></security>
> </distributed-cache>
> </cache-container>
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11763) Make cache authorization roles declaration implicit
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11763?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11763:
-----------------------------------
Status: Open (was: New)
> Make cache authorization roles declaration implicit
> ---------------------------------------------------
>
> Key: ISPN-11763
> URL: https://issues.redhat.com/browse/ISPN-11763
> Project: Infinispan
> Issue Type: Enhancement
> Components: Security
> Affects Versions: 11.0.0.Dev05
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> Specifying cache authorization roles is a chore because a user must declare which global roles apply to each individual cache.
> By making the cache roles implicit, we can apply all roles declared in the global config to caches automatically:
> {code:xml}
> <cache-container>
> <security>
> <authorization>
> <identity-role-mapper/>
> <role name="AdminRole" permissions="ALL"/>
> <role name="ReaderRole" permissions="READ"/>
> <role name="WriterRole" permissions="WRITE"/>
> <role name="SupervisorRole" permissions="READ WRITE EXEC BULK_READ"/>
> </authorization>
> </security>
> <distributed-cache name="secure-implicit">
> <security><authorization/></security>
> </distributed-cache>
> <distributed-cache name="secure-explicit">
> <security><authorization roles="AdminRole ReaderRole WriterRole SupervisorRole"/></security>
> </distributed-cache>
> </cache-container>
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months