[
https://issues.apache.org/jira/browse/KARAF-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597120#comment-13597120
]
Christian Schneider commented on KARAF-2226:
--------------------------------------------
I found that it is necessary to define a type converter that converts the paths
to unix format.
<type-converters>
<bean class="org.apache.karaf.jaas.modules.properties.PropertiesConverter"/>
</type-converters>
So this is no bug in the implementation but rather the documentation is missing
this. I will add the info to the manual.
> Properties with pathname are not correct on windows in jaas
> PropertiesLoginModule
> ---------------------------------------------------------------------------------
>
> Key: KARAF-2226
> URL: https://issues.apache.org/jira/browse/KARAF-2226
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 2.3.1
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 2.3.2, 3.0.0
>
>
> In the default config for the karaf jaas PropertiesLoginModule we use a
> placeholder karaf.base. This works on unix but fails in windows.
> It looks like the backslashes are the problem. Probably they are not escaped
> correctly. This problem might be a generic problem with the felix properties.
> users=$[karaf.base]/etc/users.properties
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira