ome.security.auth
Class QueryNewUserGroupBean

java.lang.Object
  extended by ome.security.auth.QueryNewUserGroupBean
All Implemented Interfaces:
NewUserGroupBean

public class QueryNewUserGroupBean
extends Object
implements NewUserGroupBean

Handles the ":query:" specifier from etc/omero.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
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
SecuritySystem

Constructor Summary
QueryNewUserGroupBean(String grpSpec)
           
 
Method Summary
 List<Long> groups(String username, LdapConfig config, org.springframework.ldap.core.LdapOperations ldap, RoleProvider provider, AttributeSet attrSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryNewUserGroupBean

public QueryNewUserGroupBean(String grpSpec)
Method Detail

groups

public List<Long> groups(String username,
                         LdapConfig config,
                         org.springframework.ldap.core.LdapOperations ldap,
                         RoleProvider provider,
                         AttributeSet attrSet)
Specified by:
groups in interface NewUserGroupBean


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.