Package ome.security.auth
Class QueryNewUserGroupBean
- java.lang.Object
-
- ome.security.auth.QueryNewUserGroupBean
-
- All Implemented Interfaces:
NewUserGroupBean
,NewUserGroupOwnerBean
public class QueryNewUserGroupBean extends java.lang.Object implements NewUserGroupBean, NewUserGroupOwnerBean
Handles the ":query:" specifier from omero-server.properties. The string following ":query:" is interpreted as an LDAP query to be run in combination with the "omero.ldap.group_filter" value. Properties of the form "${}" will be replaced with found user properties.- Since:
- Beta4.2
- See Also:
SecuritySystem
-
-
Constructor Summary
Constructors Constructor Description QueryNewUserGroupBean(java.lang.String grpQuery)
-
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)
java.util.List<java.lang.Long>
ownerOfGroups(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
-
ownerOfGroups
public java.util.List<java.lang.Long> ownerOfGroups(java.lang.String username, LdapConfig config, org.springframework.ldap.core.LdapOperations ldap, RoleProvider provider, AttributeSet attrSet)
- Specified by:
ownerOfGroups
in interfaceNewUserGroupOwnerBean
-
-