Re: [PR] Bump com.nimbusds:nimbus-jose-jwt from 9.37.2 to 9.37.3 [syncope]

2023-12-08 Thread via GitHub


ilgrosso merged PR #572:
URL: https://github.com/apache/syncope/pull/572


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Bump com.nimbusds:nimbus-jose-jwt from 9.37.2 to 9.37.3 [syncope]

2023-12-08 Thread via GitHub


dependabot[bot] opened a new pull request, #572:
URL: https://github.com/apache/syncope/pull/572

   Bumps 
[com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt)
 from 9.37.2 to 9.37.3.
   
   Changelog
   Sourced from https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt;>com.nimbusds:nimbus-jose-jwt's
 changelog.
   
   version 1.0 (2012-03-01)
   
   First version based on the OpenInfoCard JWT, JWS and JWE code base.
   
   version 1.1 (2012-03-06)
   
   Introduces type-safe enumeration of the JSON Web Algorithms (JWA).
   Refactors the JWT class.
   
   version 1.2 (2012-03-08)
   
   Moves JWS and JWE code into separate classes.
   
   version 1.3 (2012-03-09)
   
   Switches to Apache Commons Codec for Base64URL encoding and decoding
   Consolidates the crypto utilities within the package.
   Introduces a JWT content serialiser class.
   
   version 1.4 (2012-03-09)
   
   Refactoring of JWT class and JUnit tests.
   
   version 1.5 (2012-03-18)
   
   Switches to JSON Smart for JSON serialisation and parsing.
   Introduces claims set class with JSON objects, string, Base64URL and
   byte array views.
   
   version 1.6 (2012-03-20)
   
   Creates class for representing, serialising and parsing JSON Web Keys
   (JWK).
   Introduces separate class for representing JWT headers.
   
   version 1.7 (2012-04-01)
   
   Introduces separate classes for plain, JWS and JWE headers.
   Introduces separate classes for plain, signed and encrypted JWTs.
   Removes the JWTContent class.
   Removes password-based (PE820) encryption support.
   
   version 1.8 (2012-04-03)
   
   Adds support for the ZIP JWE header parameter.
   Removes unsupported algorithms from the JWA enumeration.
   
   version 1.9 (2012-04-03)
   
   Renames JWEHeader.{get|set}EncryptionAlgorithm() to
   JWEHeader.{get|set}EncryptionMethod().
   
   version 1.9.1 (2012-04-03)
   
   Upgrades JSON Smart JAR to 1.1.1.
   
   version 1.10 (2012-04-14)
   
   Introduces serialize() method to base abstract JWT class.
   
   version 1.11 (2012-05-13)
   
   JWT.serialize() throws checked JWTException instead of
   
   
   
   ... (truncated)
   
   
   Commits
   
   https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/2432c09121add9fe6b2db9173131dd777939bfee;>2432c09
 [maven-release-plugin] prepare for next development iteration
   https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/fa9737c49f1ae706d8929abfcb6f346b04275e03;>fa9737c
 Bumps Tink and BC deps
   https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/431f492225d8812cc6e57c6ebe1363e2fab2baba;>431f492
 [maven-release-plugin] prepare release 9.37.3
   See full diff in https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/9.37.3..9.37.2;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.nimbusds:nimbus-jose-jwt=maven=9.37.2=9.37.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries 

Re: [PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


flyueliu commented on PR #571:
URL: https://github.com/apache/syncope/pull/571#issuecomment-1847532702

   > Thanks for your PR @flyueliu Please ensure to fill, sign and send your 
[ICLA](https://www.apache.org/licenses/icla.pdf) before we can accept your 
contributions
   
   ok, i have send a email to secret...@apache.org


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


flyueliu commented on code in PR #571:
URL: https://github.com/apache/syncope/pull/571#discussion_r1420785074


##
core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/LDAPMembershipPullActions.java:
##
@@ -141,7 +141,7 @@ protected List getMembAttrValues(final SyncDelta 
delta, final Connector
  */
 @Transactional(readOnly = true)
 @Override
-public void beforeUpdate(
+public synchronized void beforeUpdate(

Review Comment:
   yes, use ConcurrentHashMap is better way. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


ilgrosso commented on PR #571:
URL: https://github.com/apache/syncope/pull/571#issuecomment-1847418394

   Thanks for your PR @flyueliu 
   Please ensure to fill, sign and send your 
[ICLA](https://www.apache.org/licenses/icla.pdf) before we can accept your 
contributions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


ilgrosso commented on code in PR #571:
URL: https://github.com/apache/syncope/pull/571#discussion_r1420688271


##
core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/LDAPMembershipPullActions.java:
##
@@ -141,7 +141,7 @@ protected List getMembAttrValues(final SyncDelta 
delta, final Connector
  */
 @Transactional(readOnly = true)
 @Override
-public void beforeUpdate(
+public synchronized void beforeUpdate(

Review Comment:
   for example, replace the two `HashMap` instances with `ConcurrentHashMap` or 
wrap them up via `Collections.syncrhonizedMap()`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


ilgrosso commented on code in PR #571:
URL: https://github.com/apache/syncope/pull/571#discussion_r1420685546


##
core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/LDAPMembershipPullActions.java:
##
@@ -141,7 +141,7 @@ protected List getMembAttrValues(final SyncDelta 
delta, final Connector
  */
 @Transactional(readOnly = true)
 @Override
-public void beforeUpdate(
+public synchronized void beforeUpdate(

Review Comment:
   please find a different way to solve the issue which does not involve 
synchronizing the whole methods



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] fixed membership hashmap multi threaded problem when task enable concurrent setting [syncope]

2023-12-08 Thread via GitHub


flyueliu opened a new pull request, #571:
URL: https://github.com/apache/syncope/pull/571

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (SYNCOPE-1793) A logged in user cannot associate/deassociate a resource to himself

2023-12-08 Thread Jira


 [ 
https://issues.apache.org/jira/browse/SYNCOPE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned SYNCOPE-1793:
---

Assignee: Francesco Chicchiriccò

> A logged in user cannot associate/deassociate a resource to himself
> ---
>
> Key: SYNCOPE-1793
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1793
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 3.0.5
>Reporter: Samuel Garofalo
>Assignee: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.6, 4.0.0
>
>
> A NPE is thrown when a logged user perform an associate/deassociate of a 
> resource to himself.
> If the associate/deassociate of the resource is performed to another user 
> everything works as expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SYNCOPE-1792) Error in console while editing conf parameter with values containing numbers

2023-12-08 Thread Jira


 [ 
https://issues.apache.org/jira/browse/SYNCOPE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò resolved SYNCOPE-1792.
-
Resolution: Fixed

> Error in console while editing conf parameter with values containing numbers
> 
>
> Key: SYNCOPE-1792
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1792
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 3.0.5
>Reporter: Andrea Patricelli
>Assignee: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.6, 4.0.0
>
> Attachments: screenshot-1.png
>
>
> Create a new multivalue configuration parameter with type String and values 
> some UUIDs or simple numbers like 1,2,3, etc. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SYNCOPE-1792) Error in console while editing conf parameter with values containing numbers

2023-12-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SYNCOPE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17794775#comment-17794775
 ] 

ASF subversion and git services commented on SYNCOPE-1792:
--

Commit 27709810be1088255f503b62c781b9639043dd8e in syncope's branch 
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=27709810be ]

[SYNCOPE-1792] Improving Console support for Keymaster conf params


> Error in console while editing conf parameter with values containing numbers
> 
>
> Key: SYNCOPE-1792
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1792
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 3.0.5
>Reporter: Andrea Patricelli
>Assignee: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.6, 4.0.0
>
> Attachments: screenshot-1.png
>
>
> Create a new multivalue configuration parameter with type String and values 
> some UUIDs or simple numbers like 1,2,3, etc. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SYNCOPE-1792) Error in console while editing conf parameter with values containing numbers

2023-12-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SYNCOPE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17794774#comment-17794774
 ] 

ASF subversion and git services commented on SYNCOPE-1792:
--

Commit c1f5084050a39dbb4977501b1bc8c428760eb612 in syncope's branch 
refs/heads/3_0_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=c1f5084050 ]

[SYNCOPE-1792] Improving Console support for Keymaster conf params


> Error in console while editing conf parameter with values containing numbers
> 
>
> Key: SYNCOPE-1792
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1792
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 3.0.5
>Reporter: Andrea Patricelli
>Assignee: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.6, 4.0.0
>
> Attachments: screenshot-1.png
>
>
> Create a new multivalue configuration parameter with type String and values 
> some UUIDs or simple numbers like 1,2,3, etc. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (SYNCOPE-1792) Error in console while editing conf parameter with values containing numbers

2023-12-08 Thread Jira


 [ 
https://issues.apache.org/jira/browse/SYNCOPE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned SYNCOPE-1792:
---

Assignee: Francesco Chicchiriccò

> Error in console while editing conf parameter with values containing numbers
> 
>
> Key: SYNCOPE-1792
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1792
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 3.0.5
>Reporter: Andrea Patricelli
>Assignee: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.6, 4.0.0
>
> Attachments: screenshot-1.png
>
>
> Create a new multivalue configuration parameter with type String and values 
> some UUIDs or simple numbers like 1,2,3, etc. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)