[jira] [Created] (WSS-635) verifyPlaintextPassword bug that can't validate #PasswordText type of plain password

2018-11-15 Thread Bin (JIRA)
Bin created WSS-635:
---

 Summary: verifyPlaintextPassword bug that can't validate 
#PasswordText type of plain password
 Key: WSS-635
 URL: https://issues.apache.org/jira/browse/WSS-635
 Project: WSS4J
  Issue Type: Bug
Affects Versions: 2.2.2
Reporter: Bin
Assignee: Colm O hEigeartaigh


When Soap Web Service call produce head like:



http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;>



test

http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText;>test$123

http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary;>Uh1agPWwwflSLAZNN3/riA==

2018-11-15T20:11:15.322Z







In org.apache.wss4j.dom.validate.UsernameTokenValidator, 
verifyPlaintextPassword() calls verifyDigestPassword, which fails above header 
validation even when I configure a 

CallbackHandler to validate the username and password, Another issue is that 
the plain password is not passed in to the callbackHandler. It seems that 
verifyPlaintextPassword() should not share the verifyDigestPassword() logic.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Resolved] (AXIOM-440) LifecycleManagerImpl wrong by inspection

2018-11-15 Thread Andreas Veithen (JIRA)


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

Andreas Veithen resolved AXIOM-440.
---
Resolution: Duplicate

> LifecycleManagerImpl wrong by inspection
> 
>
> Key: AXIOM-440
> URL: https://issues.apache.org/jira/browse/AXIOM-440
> Project: Axiom
>  Issue Type: Bug
>Reporter: James Grahn
>Priority: Major
>
> I'm uncertain of the implications of this, but "LifecycleManagerImpl" is 
> failing to update its Hashtable as expected.
> The table.put() is called with the types: String=>FileAccessor.   table.get() 
> is called with the type String.   However, table.remove is consistently 
> called with type File.
> So all attempts to remove anything from the table should be expected to fail.
> --
> Noticed this when I was reading through the class.   Appears to have been 
> this way since 2008.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Reopened] (AXIOM-440) LifecycleManagerImpl wrong by inspection

2018-11-15 Thread Andreas Veithen (JIRA)


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

Andreas Veithen reopened AXIOM-440:
---

> LifecycleManagerImpl wrong by inspection
> 
>
> Key: AXIOM-440
> URL: https://issues.apache.org/jira/browse/AXIOM-440
> Project: Axiom
>  Issue Type: Bug
>Reporter: James Grahn
>Priority: Major
>
> I'm uncertain of the implications of this, but "LifecycleManagerImpl" is 
> failing to update its Hashtable as expected.
> The table.put() is called with the types: String=>FileAccessor.   table.get() 
> is called with the type String.   However, table.remove is consistently 
> called with type File.
> So all attempts to remove anything from the table should be expected to fail.
> --
> Noticed this when I was reading through the class.   Appears to have been 
> this way since 2008.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Resolved] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread Andreas Veithen (JIRA)


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

Andreas Veithen resolved AXIOM-493.
---
   Resolution: Fixed
Fix Version/s: 1.2.22

> LifecycleManagerImpl doesn't delete FileAccesor references correctly
> 
>
> Key: AXIOM-493
> URL: https://issues.apache.org/jira/browse/AXIOM-493
> Project: Axiom
>  Issue Type: Bug
>  Components: API
>Affects Versions: 1.2.21
>Reporter: Mustafa Solmaz
>Priority: Major
> Fix For: 1.2.22
>
>
> Hi,
> we had a memory leak on our webservice project. When debugging, we noticed 
> that the LifecycleManagerImpl does not clean up its hashtable correctly. 
> While looking through the code, I noticed that the _create_ (line 72) method 
> fills the table with the filename, but uses the file name reference on 
> _delete_ (line 91, 138, 206).
> Kind regards,
> Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/AXIOM-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688699#comment-16688699
 ] 

Hudson commented on AXIOM-493:
--

SUCCESS: Integrated in Jenkins build axiom-1.2.x #80 (See 
[https://builds.apache.org/job/axiom-1.2.x/80/])
AXIOM-493: Merge r1846677 to the 1.2 branch. (veithen: rev 1846678)
* (edit) axiom
* (edit) 
axiom/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/LifecycleManagerImpl.java


> LifecycleManagerImpl doesn't delete FileAccesor references correctly
> 
>
> Key: AXIOM-493
> URL: https://issues.apache.org/jira/browse/AXIOM-493
> Project: Axiom
>  Issue Type: Bug
>  Components: API
>Affects Versions: 1.2.21
>Reporter: Mustafa Solmaz
>Priority: Major
>
> Hi,
> we had a memory leak on our webservice project. When debugging, we noticed 
> that the LifecycleManagerImpl does not clean up its hashtable correctly. 
> While looking through the code, I noticed that the _create_ (line 72) method 
> fills the table with the filename, but uses the file name reference on 
> _delete_ (line 91, 138, 206).
> Kind regards,
> Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/AXIOM-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688661#comment-16688661
 ] 

Hudson commented on AXIOM-493:
--

SUCCESS: Integrated in Jenkins build axiom-trunk #2979 (See 
[https://builds.apache.org/job/axiom-trunk/2979/])
AXIOM-493: Fix memory leak in LifecycleManagerImpl.

Patch provided by Mustafa Solmaz.

No regression test here because we would like to get rid of that class in a 
future Axiom version anyway.

This closes #2. (veithen: rev 1846677)
* (edit) 
axiom/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/LifecycleManagerImpl.java


> LifecycleManagerImpl doesn't delete FileAccesor references correctly
> 
>
> Key: AXIOM-493
> URL: https://issues.apache.org/jira/browse/AXIOM-493
> Project: Axiom
>  Issue Type: Bug
>  Components: API
>Affects Versions: 1.2.21
>Reporter: Mustafa Solmaz
>Priority: Major
>
> Hi,
> we had a memory leak on our webservice project. When debugging, we noticed 
> that the LifecycleManagerImpl does not clean up its hashtable correctly. 
> While looking through the code, I noticed that the _create_ (line 72) method 
> fills the table with the filename, but uses the file name reference on 
> _delete_ (line 91, 138, 206).
> Kind regards,
> Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/AXIOM-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688632#comment-16688632
 ] 

ASF GitHub Bot commented on AXIOM-493:
--

Github user asfgit closed the pull request at:

https://github.com/apache/webservices-axiom/pull/2


> LifecycleManagerImpl doesn't delete FileAccesor references correctly
> 
>
> Key: AXIOM-493
> URL: https://issues.apache.org/jira/browse/AXIOM-493
> Project: Axiom
>  Issue Type: Bug
>  Components: API
>Affects Versions: 1.2.21
>Reporter: Mustafa Solmaz
>Priority: Major
>
> Hi,
> we had a memory leak on our webservice project. When debugging, we noticed 
> that the LifecycleManagerImpl does not clean up its hashtable correctly. 
> While looking through the code, I noticed that the _create_ (line 72) method 
> fills the table with the filename, but uses the file name reference on 
> _delete_ (line 91, 138, 206).
> Kind regards,
> Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[GitHub] webservices-axiom pull request #2: Update LifecycleManagerImpl.java

2018-11-15 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/webservices-axiom/pull/2


---

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/AXIOM-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688334#comment-16688334
 ] 

ASF GitHub Bot commented on AXIOM-493:
--

GitHub user mu-so opened a pull request:

https://github.com/apache/webservices-axiom/pull/2

Update LifecycleManagerImpl.java

Fix memory leak in LifecycleManagerImpl
See description in
https://issues.apache.org/jira/browse/AXIOM-493

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mu-so/webservices-axiom patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/webservices-axiom/pull/2.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2


commit 4ff4d8324327533d7742941f5812f26e32581f14
Author: Mustafa Solmaz 
Date:   2018-11-15T16:45:16Z

Update LifecycleManagerImpl.java

Fix memory leak in LifecycleManagerImpl




> LifecycleManagerImpl doesn't delete FileAccesor references correctly
> 
>
> Key: AXIOM-493
> URL: https://issues.apache.org/jira/browse/AXIOM-493
> Project: Axiom
>  Issue Type: Bug
>  Components: API
>Affects Versions: 1.2.21
>Reporter: Mustafa Solmaz
>Priority: Major
>
> Hi,
> we had a memory leak on our webservice project. When debugging, we noticed 
> that the LifecycleManagerImpl does not clean up its hashtable correctly. 
> While looking through the code, I noticed that the _create_ (line 72) method 
> fills the table with the filename, but uses the file name reference on 
> _delete_ (line 91, 138, 206).
> Kind regards,
> Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[GitHub] webservices-axiom pull request #2: Update LifecycleManagerImpl.java

2018-11-15 Thread mu-so
GitHub user mu-so opened a pull request:

https://github.com/apache/webservices-axiom/pull/2

Update LifecycleManagerImpl.java

Fix memory leak in LifecycleManagerImpl
See description in
https://issues.apache.org/jira/browse/AXIOM-493

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mu-so/webservices-axiom patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/webservices-axiom/pull/2.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2


commit 4ff4d8324327533d7742941f5812f26e32581f14
Author: Mustafa Solmaz 
Date:   2018-11-15T16:45:16Z

Update LifecycleManagerImpl.java

Fix memory leak in LifecycleManagerImpl




---

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Created] (AXIOM-493) LifecycleManagerImpl doesn't delete FileAccesor references correctly

2018-11-15 Thread Mustafa Solmaz (JIRA)
Mustafa Solmaz created AXIOM-493:


 Summary: LifecycleManagerImpl doesn't delete FileAccesor 
references correctly
 Key: AXIOM-493
 URL: https://issues.apache.org/jira/browse/AXIOM-493
 Project: Axiom
  Issue Type: Bug
  Components: API
Affects Versions: 1.2.21
Reporter: Mustafa Solmaz


Hi,

we had a memory leak on our webservice project. When debugging, we noticed that 
the LifecycleManagerImpl does not clean up its hashtable correctly. While 
looking through the code, I noticed that the _create_ (line 72) method fills 
the table with the filename, but uses the file name reference on _delete_ (line 
91, 138, 206).

Kind regards,

Mustafa



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org