[jboss-jira] [JBoss JIRA] (WFCORE-1077) Properties authentication in Security Realms does not work with equals sign in password

Darran Lofthouse (JIRA) issues at jboss.org
Fri Nov 13 12:15:00 EST 2015


     [ https://issues.jboss.org/browse/WFCORE-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse updated WFCORE-1077:
-------------------------------------
    Summary: Properties authentication in Security Realms does not work with equals sign in password  (was: Properties authentication in Security Realms does not work with equation mark in password)


> Properties authentication in Security Realms does not work with equals sign in password
> ---------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1077
>                 URL: https://issues.jboss.org/browse/WFCORE-1077
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management, Security
>    Affects Versions: 2.0.0.CR8
>            Reporter: Martin Choma
>            Assignee: Darran Lofthouse
>
> Security realm doesnt start in case when password contains "\=" e.g. {code}user5=Pass\=word1{code}.
> Thrown exception is 
> {code}
> ^[[0m^[[31m07:00:10,342 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.server.controller.management.security_realm.DelimitersRealm.properties_authentication: org.jboss.msc.service.StartException in service jboss.server.controller.management.security_realm.DelimitersRealm.properties_authentication: Failed to start service
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 11
>         at org.jboss.as.domain.management.security.PropertiesFileLoader.cleanKey(PropertiesFileLoader.java:236)
>         at org.jboss.as.domain.management.security.UserPropertiesFileLoader.load(UserPropertiesFileLoader.java:106)
>         at org.jboss.as.domain.management.security.PropertiesFileLoader.loadAsRequired(PropertiesFileLoader.java:164)
>         at org.jboss.as.domain.management.security.PropertiesFileLoader.getProperties(PropertiesFileLoader.java:144)
>         at org.jboss.as.domain.management.security.PropertiesFileLoader.start(PropertiesFileLoader.java:131)
>         at org.jboss.as.domain.management.security.PropertiesCallbackHandler.start(PropertiesCallbackHandler.java:128)
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>         ... 3 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list