Package ome.security.auth
Class AttributeNewUserGroupBean
- java.lang.Object
-
- ome.security.auth.AttributeNewUserGroupBean
-
- All Implemented Interfaces:
NewUserGroupBean
public class AttributeNewUserGroupBean extends java.lang.Object implements NewUserGroupBean
Handles the "*_attribute" specifiers from omero-server.properties. The values of the attribute equal to the string following ":*_attribute:" are taken to be the names and/or DNs ofExperimenterGroup
instances and created if necessary. If the constructor'sfiltered
argument is set totrue
, then the names/DNs found must pass the assigned group filter.- Since:
- Beta4.2
- See Also:
SecuritySystem
-
-
Constructor Summary
Constructors Constructor Description AttributeNewUserGroupBean(java.lang.String grpAttribute, boolean filtered, boolean 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
-
-