Github user m4rkmckenna commented on the pull request:

    https://github.com/apache/brooklyn-server/pull/41#issuecomment-197400537
  
    Tested this along with #31 & #55 ... noticed the following
    
    Works as expected with the following in your `brooklyn.properties`
    ```
    
brooklyn.webconsole.security.provider=org.apache.brooklyn.rest.security.provider.AnyoneSecurityProvider
    ```
    **OR**
    ```
    brooklyn.webconsole.security.users=superAdmin
    brooklyn.webconsole.security.user.superAdmin.password=5up3r4dm1n
    ```
    
    but leaving the above out 
`org.apache.brooklyn.rest.security.provider.BrooklynUserWithRandomPasswordSecurityProvider`
 is never invoked so you end up with the below error when login is attempted
    
    ```
    2016-03-16 15:13:17,521 | INFO  | qtp26227812-675  | 
DelegatingSecurityProvider       | 55 - org.apache.brooklyn.rest-resources - 
0.9.0.SNAPSHOT | REST using security provider 
org.apache.brooklyn.rest.security.provider.ExplicitUsersSecurityProvider
    2016-03-16 15:13:17,521 | WARN  | qtp26227812-675  | 
ExplicitUsersSecurityProvider    | 55 - org.apache.brooklyn.rest-resources - 
0.9.0.SNAPSHOT | REST has no users configured; no one will be able to log in!
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to