You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Aled Sage (JIRA)" <ji...@apache.org> on 2017/04/27 23:37:04 UTC
[jira] [Resolved] (BROOKLYN-81) When no web-console credentials
configured, "Reload properties" makes it inaccessible
[ https://issues.apache.org/jira/browse/BROOKLYN-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aled Sage resolved BROOKLYN-81.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.10.0
In 0.10.0, we changed the Brooklyn default behaviour (for classic; not sure about karaf off-hand!): if no credentials are defined, then no credentials are required to login.
Reloading properties thus does not break login.
> When no web-console credentials configured, "Reload properties" makes it inaccessible
> -------------------------------------------------------------------------------------
>
> Key: BROOKLYN-81
> URL: https://issues.apache.org/jira/browse/BROOKLYN-81
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Aled Sage
> Assignee: Sam Corbett
> Fix For: 0.10.0
>
>
> I ran `brooklyn launch`, where my brooklyn.properties had no web-console security credentials. I then clicked the "Reload properties" button on the front page of the web-console. After that, I could not log in.
> The log showed me:
> 2014-10-17 11:28:00,886 INFO Starting Brooklyn web-console with passwordless access on localhost and protected access from any other interfaces
> 2014-10-17 11:28:02,812 INFO Started Brooklyn console at http://127.0.0.1:8089/, running classpath://brooklyn.war
> 2014-10-17 11:28:03,247 INFO REST using security provider brooklyn.rest.security.provider.BrooklynUserWithRandomPasswordSecurityProvider
> 2014-10-17 11:28:03,247 INFO Allowing access to web console from localhost or with brooklyn:Kg6GATxF6s
>
> 2014-10-17 11:28:08,860 INFO Reloading brooklyn properties from Builder{defaultLocationMetadataUrl=classpath://brooklyn/location-metadata.properties, globalLocationMetadataUrl=/Users/aled/.brooklyn/location-metadata.properties, globalPropertiesFile=/Users/aled/.brooklyn/brooklyn.properties}
> 2014-10-17 11:28:08,860 WARN When reloading, mgmt context LocalManagementContext[pf7oiGWN-xPf4Z8z7] properties are fixed, so reload will be of limited utility
> 2014-10-17 11:28:08,863 INFO Reloading additional brooklyn properties from {brooklyn.catalog.mode=LOAD_BROOKLYN_CATALOG_URL}
> 2014-10-17 11:28:08,864 INFO REST using security provider brooklyn.rest.security.provider.ExplicitUsersSecurityProvider
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)