[jira] [Resolved] (KARAF-5663) CaveMavenServlet download doesn't do anything

2018-03-14 Thread JIRA

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

Jean-Baptiste Onofré resolved KARAF-5663.
-
Resolution: Not A Problem

> CaveMavenServlet download doesn't do anything
> -
>
> Key: KARAF-5663
> URL: https://issues.apache.org/jira/browse/KARAF-5663
> Project: Karaf
>  Issue Type: Bug
>  Components: cave-maven
>Affects Versions: cave-4.1.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
> Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
> Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



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


[jira] [Updated] (KARAF-5663) CaveMavenServlet download doesn't do anything

2018-03-14 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-5663:

Fix Version/s: (was: cave-4.1.1)

> CaveMavenServlet download doesn't do anything
> -
>
> Key: KARAF-5663
> URL: https://issues.apache.org/jira/browse/KARAF-5663
> Project: Karaf
>  Issue Type: Bug
>  Components: cave-maven
>Affects Versions: cave-4.1.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
> Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
> Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



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


[jira] [Commented] (KARAF-5663) CaveMavenServlet download doesn't do anything

2018-03-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399203#comment-16399203
 ] 

Jean-Baptiste Onofré commented on KARAF-5663:
-

I confirm that it works like a charm using the following {{pom.xml}}:

{code}

http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>

4.0.0

net.nanthrax
test-cave
1.0-SNAPSHOT



org.apache.aries
org.apache.aries.util
1.0.0





cave
cave
http://localhost:8181/cave/maven




{code}

> CaveMavenServlet download doesn't do anything
> -
>
> Key: KARAF-5663
> URL: https://issues.apache.org/jira/browse/KARAF-5663
> Project: Karaf
>  Issue Type: Bug
>  Components: cave-maven
>Affects Versions: cave-4.1.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: cave-4.1.1
>
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
> Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
> Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



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


[jira] [Commented] (KARAF-5663) CaveMavenServlet download doesn't do anything

2018-03-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399198#comment-16399198
 ] 

Jean-Baptiste Onofré commented on KARAF-5663:
-

Agree, my bad. Let me do a complete test using Cave Maven servlet via a Maven 
{{pom.xml}}.

> CaveMavenServlet download doesn't do anything
> -
>
> Key: KARAF-5663
> URL: https://issues.apache.org/jira/browse/KARAF-5663
> Project: Karaf
>  Issue Type: Bug
>  Components: cave-maven
>Affects Versions: cave-4.1.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: cave-4.1.1
>
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
> Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
> Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



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


[jira] [Commented] (KARAF-5667) Installing the audit-log feature never ends

2018-03-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399182#comment-16399182
 ] 

ASF GitHub Bot commented on KARAF-5667:
---

gnodet opened a new pull request #470: [KARAF-5667] Installing the audit-log 
feature never ends
URL: https://github.com/apache/karaf/pull/470
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Installing the audit-log feature never ends
> ---
>
> Key: KARAF-5667
> URL: https://issues.apache.org/jira/browse/KARAF-5667
> Project: Karaf
>  Issue Type: Bug
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Critical
> Fix For: 4.2.0
>
>




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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398891#comment-16398891
 ] 

Guillaume Nodet commented on KARAF-5666:


You need to use single quotes to avoid the history event expansion:

{code}
> user-add test '1212!?'
{code}


> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5663) CaveMavenServlet download doesn't do anything

2018-03-14 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398878#comment-16398878
 ] 

Guillaume Nodet commented on KARAF-5663:


For the record, the servlet is supposed to act as a proxy to a maven 
repository, and the requests for artifacts all look like:

 
https://repo1.maven.org/maven2/org/apache/aries/org.apache.aries.util/1.0.0/org.apache.aries.util-1.0.0.jar

So it's always the full path...

> CaveMavenServlet download doesn't do anything
> -
>
> Key: KARAF-5663
> URL: https://issues.apache.org/jira/browse/KARAF-5663
> Project: Karaf
>  Issue Type: Bug
>  Components: cave-maven
>Affects Versions: cave-4.1.0
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: cave-4.1.1
>
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
> Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
> Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



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


[jira] [Comment Edited] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398595#comment-16398595
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:43 PM:
---

__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──┼┼───
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212!?
 Error executing command jaas:user-add: too many arguments specified


was (Author: linuste):
__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──┼┼───
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212!? --index 1
 Error executing command jaas:user-add: too many arguments specified

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Comment Edited] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398592#comment-16398592
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:42 PM:
---

try to add a new user named test with password abc!123!?

 


was (Author: linuste):
try to add a new user named test with password abc!123!

 

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398609#comment-16398609
 ] 

Linus Tentler commented on KARAF-5666:
--

it also works with password "1212!!" ( 1212 exlamation mark exclamation mark )

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Comment Edited] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398609#comment-16398609
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:41 PM:
---

the error also occurs  with password "1212!!" ( 1212 exlamation mark 
exclamation mark )


was (Author: linuste):
it also works with password "1212!!" ( 1212 exlamation mark exclamation mark )

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398605#comment-16398605
 ] 

Linus Tentler commented on KARAF-5666:
--

Sorry my bad the error occurs when adding a user with password 1212!? (1212 
exclamation mark question mark)

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Comment Edited] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398595#comment-16398595
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:38 PM:
---

__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──┼┼───
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212!? --index 1
 Error executing command jaas:user-add: too many arguments specified


was (Author: linuste):
__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──┼┼───
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212! --index 1
 Error executing command jaas:user-add: too many arguments specified

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Comment Edited] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398595#comment-16398595
 ] 

Linus Tentler edited comment on KARAF-5666 at 3/14/18 1:37 PM:
---

__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|__,_/_/ __,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
 and '[cmd] --help' for help on a specific command.
 Hit 'system:shutdown' to shutdown Karaf.
 Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
 Index │ Realm Name │ Login Module Class Name
 
──┼┼───
 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
 2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
 3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
 4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
 5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
 karaf@root()> realm-manage --index 1
 karaf@root()> user-add test 1212! --index 1
 Error executing command jaas:user-add: too many arguments specified


was (Author: linuste):
__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|\__,_/_/ \__,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
Index │ Realm Name │ Login Module Class Name
──┼┼───
1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
karaf@root()> realm-manage --index 1
karaf@root()> user-add test  --index 1
Error executing command jaas:user-add: too many arguments specified

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398595#comment-16398595
 ] 

Linus Tentler commented on KARAF-5666:
--

__ __  
 / //_/ __ _/ __/ 
 / ,< / __ `/ ___/ __ `/ /_ 
 / /| |/ /_/ / / / /_/ / __/ 
 /_/ |_|\__,_/_/ \__,_/_/

Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '' or type 'logout' to disconnect shell from current session.

karaf@root()> realm-list
Index │ Realm Name │ Login Module Class Name
──┼┼───
1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
2 │ karaf │ org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
3 │ karaf │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
4 │ karaf │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
5 │ karaf │ org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
karaf@root()> realm-manage --index 1
karaf@root()> user-add test  --index 1
Error executing command jaas:user-add: too many arguments specified

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Linus Tentler (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398592#comment-16398592
 ] 

Linus Tentler commented on KARAF-5666:
--

try to add a new user named test with password abc!123!

 

> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Commented] (KARAF-5666) Shell interprets exclamation mark

2018-03-14 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398581#comment-16398581
 ] 

Guillaume Nodet commented on KARAF-5666:


Could you explain a bit more the command you're typing, what you're seing and 
what you expect ?
The execution below looks correct to me:
{code}
karaf@root()> echo 1212!
1212!
{code}


> Shell interprets exclamation mark 
> --
>
> Key: KARAF-5666
> URL: https://issues.apache.org/jira/browse/KARAF-5666
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Linus Tentler
>Priority: Major
>
> Shell interprets exclamation mark in passwords when trying to add a user.
> Steps to reproduce:
> --> open ssh session
> --> manage realm
> --> user-add test 1212!



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


[jira] [Resolved] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-14 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet resolved KARAF-5645.

Resolution: Fixed

> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



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


[jira] [Commented] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398578#comment-16398578
 ] 

ASF subversion and git services commented on KARAF-5645:


Commit a080af70ac71ef0c639cc81e1091ae68ec08fb21 in karaf's branch 
refs/heads/karaf-4.1.x from [~gnt]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=a080af7 ]

[KARAF-5645] Karaf crashes when using the character ']' in the console


> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



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


[jira] [Commented] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398549#comment-16398549
 ] 

ASF subversion and git services commented on KARAF-5645:


Commit 5ed296b44e02e86865f3f2052a3d06461693f953 in karaf's branch 
refs/heads/master from [~gnt]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=5ed296b ]

[KARAF-5645] Karaf crashes when using the character ']' in the console


> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



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


[jira] [Updated] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-14 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5645:
---
Fix Version/s: (was: 4.2.1)
   4.2.0

> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



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


[jira] [Commented] (KARAF-5641) Karaf boot scripts need to deal with JDK10 version patterns

2018-03-14 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398340#comment-16398340
 ] 

Guillaume Nodet commented on KARAF-5641:


Oh, nice, thx [~ffang] !

> Karaf boot scripts need to deal with JDK10 version patterns
> ---
>
> Key: KARAF-5641
> URL: https://issues.apache.org/jira/browse/KARAF-5641
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.2.0.M2
>Reporter: Sanne Grinovero
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>
> The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the 
> distribution is not dealing with the new output of {{java -version}} of JDK10 
> (and later?).
> The {{VERSION}} variable is left undefined, which then has the main 
> bootscript to not set the Jigsaw modules correctly (the various JVM flags 
> which need to be enabled since Java 9).
> This is a blocker to use Karaf on Java 10, which is already in candidate 
> release. I don't think much else is changed compared to Java 9 so it would be 
> great to sort this.



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


[jira] [Updated] (KARAF-5656) maven:password -eb not working

2018-03-14 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5656:
---
Summary: maven:password -eb not working  (was: maven:password -eb 
notwirking)

> maven:password -eb not working
> --
>
> Key: KARAF-5656
> URL: https://issues.apache.org/jira/browse/KARAF-5656
> Project: Karaf
>  Issue Type: Improvement
>Affects Versions: 4.2.0.M2
> Environment: fresh Karaf-4.2.0.M2 instance
>Reporter: Felix marezki
>Priority: Major
>
> I couldn't find the component, but its located in the maven feature.
> Symptom:
> The "maven:password -ep" command fails with message: "Master password is not 
> available",
> (even) when you have configured a master password before.
> This happens when there is no maven settings.xml configured/present.
> So you have to have a settings.xml in your local maven repo (.m2 folder) 
> present before encrypting a password using this command. (well or u have 
> somehow configured etc/org.ops4j.pax.url.mvn.cfg properties accordingly 
> beforehand/manually)
>  
> steps to reproduce:
>  # install fresh Karaf(-4.2.0.M2) instance
>  # run:
>  ## feature:install maven
>  ## maven:password -emp (–persist)
>  ## maven:password -ep



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