Hello,

In UserManagerImpl.getPrincipal(String username), is there a reason why 
principal.setModel is called before setting the virtual groups? 
principal.setModel calls updateAllGroups which set the allGroups property by 
adding the virtual groups... Like it is now, the virtual groups are never 
returned when getAllGroups is called...
If i move principal.setModel  at the end of the method, the virtual groups 
are correctly added and my principal is then correctly seen as a member of 
the virtual groups which was not the case with the code as it is now.
PS: i'm using a LDAP configuration for the userDirectory and the 
authentication is made through NTLM (which calls 
UserManagerImpl.getPrincipal to build the NuxeoPrincipal) 



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to