ome.security.auth
Class PersonContextMapper
java.lang.Object
ome.security.auth.PersonContextMapper
- All Implemented Interfaces:
- org.springframework.ldap.core.ContextMapper
public class PersonContextMapper
- extends Object
- implements org.springframework.ldap.core.ContextMapper
Specialized OME Experimenter context mapper.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonContextMapper
public PersonContextMapper(LdapConfig cfg,
String base)
PersonContextMapper
public PersonContextMapper(LdapConfig cfg,
String base,
String attribute)
get
public String get(String attribute,
org.springframework.ldap.core.DirContextAdapter context)
mapFromContext
public Object mapFromContext(Object obj)
- Specified by:
mapFromContext
in interface org.springframework.ldap.core.ContextMapper
getDn
public String getDn(ome.model.meta.Experimenter person)
getAttribute
public Set<String> getAttribute(ome.model.meta.Experimenter person)
getAttributeSet
public AttributeSet getAttributeSet(ome.model.meta.Experimenter person)
OmeroJava Api
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.