ome.security.auth
Class AttributeNewUserGroupBean

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

public class AttributeNewUserGroupBean
extends Object
implements NewUserGroupBean

Handles the ":attribute:" specifier from etc/omero.properties. The values of the attribute equal to the string following ":attribute:" are taken to be the names of ExperimenterGroup instances and created if necessary.

Since:
Beta4.2
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
SecuritySystem

Constructor Summary
AttributeNewUserGroupBean(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

AttributeNewUserGroupBean

public AttributeNewUserGroupBean(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.