Merge tag 'v2.3.28' into testing
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / auth / SingleUserLoginModule.java
index cfffb6eea74e43a50dde96ff3e87e0288beb82b3..b6623f2559e3ce4d8c08f35b6629ed225f6fdae7 100644 (file)
@@ -76,6 +76,8 @@ public class SingleUserLoginModule implements LoginModule {
                        CmsAuthUtils.addAuthorization(subject, authorization);
                } else {
                        // next step with user admin will properly populate
+                       authorization = new SingleUserAuthorization(authorizationName);
+                       CmsAuthUtils.addAuthorization(subject, authorization);
                }
 
                // Add standard Java OS login