Code-House / smarthome

Eclipse SmartHome project
Eclipse Public License 2.0
4 stars 0 forks source link

[esh-authz2] FormCredentialsExtractor - wrong configuration property #2

Open svilenvul opened 6 years ago

svilenvul commented 6 years ago

I have noticed that FormCredentialsExtractor is not configured as expected. A quick diff for reference :

     @Modified
     void update(Map<String, Object> properties) {
-        Object loginUri = properties.get(LOGIN_ENDPOINT);
+        Object loginUri = properties.get("loginEndpoint");
         if (loginUri != null && loginUri instanceof String) {
             this.loginEndpoint = (String) loginUri;
         }