You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Radomir Kadlec <ra...@aura.cz> on 2012/11/02 10:09:16 UTC
BUG in users.properties
Hello,
I will report a BUG in users.properties.
When the *username contains simple backslash* \, it must be written doppelt
in this file. For example:
user\\name=password,roles
It is correct and the user is found.
But when is the property *encryption.enabled=true* in the
org.apache.karaf.jaas.modules.properties.PropertiesLoginModule, then after
the first reading of this user the password is encrypted and the *doppelt
backslash is automatically replaced with simple backslash*:
user\name=encrypted_password,roles
*This change causes failure: the username is not found on the next time.*
Please, correct the behaviour.
Do not replace the doppelt backslash with simple backslash or enable to
enter the username with simple backslash.
I use apache-servicemix-4.4.1-fuse-07-11 on Linux.
Thanks,
Radomir
--
View this message in context: http://servicemix.396122.n5.nabble.com/BUG-in-users-properties-tp5714821.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: BUG in users.properties
Posted by Radomir Kadlec <ra...@aura.cz>.
Thanks Freeman,
I created new issue KARAF-1992.
Radomir
--
View this message in context: http://servicemix.396122.n5.nabble.com/BUG-in-users-properties-tp5714821p5714823.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: BUG in users.properties
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Servicemix use karaf underlying and this issue should be fixed in Karaf, could you please a karaf jira issue[1]?
[1]https://issues.apache.org/jira/browse/KARAF
Thanks
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-11-2, at 下午5:09, Radomir Kadlec wrote:
> Hello,
> I will report a BUG in users.properties.
> When the *username contains simple backslash* \, it must be written doppelt
> in this file. For example:
> user\\name=password,roles
>
> It is correct and the user is found.
> But when is the property *encryption.enabled=true* in the
> org.apache.karaf.jaas.modules.properties.PropertiesLoginModule, then after
> the first reading of this user the password is encrypted and the *doppelt
> backslash is automatically replaced with simple backslash*:
> user\name=encrypted_password,roles
>
> *This change causes failure: the username is not found on the next time.*
>
> Please, correct the behaviour.
> Do not replace the doppelt backslash with simple backslash or enable to
> enter the username with simple backslash.
> I use apache-servicemix-4.4.1-fuse-07-11 on Linux.
>
> Thanks,
> Radomir
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/BUG-in-users-properties-tp5714821.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: BUG in users.properties
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Servicemix use karaf underlying and this issue should be fixed in Karaf, could you please a karaf jira issue[1]?
[1]https://issues.apache.org/jira/browse/KARAF
Thanks
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-11-2, at 下午5:09, Radomir Kadlec wrote:
> Hello,
> I will report a BUG in users.properties.
> When the *username contains simple backslash* \, it must be written doppelt
> in this file. For example:
> user\\name=password,roles
>
> It is correct and the user is found.
> But when is the property *encryption.enabled=true* in the
> org.apache.karaf.jaas.modules.properties.PropertiesLoginModule, then after
> the first reading of this user the password is encrypted and the *doppelt
> backslash is automatically replaced with simple backslash*:
> user\name=encrypted_password,roles
>
> *This change causes failure: the username is not found on the next time.*
>
> Please, correct the behaviour.
> Do not replace the doppelt backslash with simple backslash or enable to
> enter the username with simple backslash.
> I use apache-servicemix-4.4.1-fuse-07-11 on Linux.
>
> Thanks,
> Radomir
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/BUG-in-users-properties-tp5714821.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.