Package ome.security.auth
Class OrgUnitNewUserGroupBean
- java.lang.Object
-
- ome.security.auth.OrgUnitNewUserGroupBean
-
- All Implemented Interfaces:
NewUserGroupBean
public class OrgUnitNewUserGroupBean extends java.lang.Object implements NewUserGroupBean
Handles the ":ou:" specifier from omero-server.properties by adding the user to a group named by the final organizational unit. For example, if a user is in the group, "ou=HookeLab,ou=biology,ou=example", then the user will be added to the "HookeLab" group.- Since:
- Beta4.2
- See Also:
SecuritySystem
-
-
Constructor Summary
Constructors Constructor Description OrgUnitNewUserGroupBean(org.springframework.ldap.core.DistinguishedName dn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Long>
groups(java.lang.String username, LdapConfig config, org.springframework.ldap.core.LdapOperations ldap, RoleProvider provider, AttributeSet attrSet)
-
-
-
Method Detail
-
groups
public java.util.List<java.lang.Long> groups(java.lang.String username, LdapConfig config, org.springframework.ldap.core.LdapOperations ldap, RoleProvider provider, AttributeSet attrSet)
- Specified by:
groups
in interfaceNewUserGroupBean
-
-