Class PersonContextMapper

  • All Implemented Interfaces:
    org.springframework.ldap.core.ContextMapper

    public class PersonContextMapper
    extends OmeroModelContextMapper
    Specialized OME Experimenter context mapper.
    • Constructor Detail

      • PersonContextMapper

        public PersonContextMapper​(LdapConfig cfg,
                                   java.lang.String base)
      • PersonContextMapper

        public PersonContextMapper​(LdapConfig cfg,
                                   java.lang.String base,
                                   java.lang.String attribute)
    • Method Detail

      • get

        public java.lang.String get​(java.lang.String attribute,
                                    org.springframework.ldap.core.DirContextAdapter context)
      • mapFromContext

        public java.lang.Object mapFromContext​(java.lang.Object obj)
        Specified by:
        mapFromContext in interface org.springframework.ldap.core.ContextMapper
        Specified by:
        mapFromContext in class OmeroModelContextMapper
      • getControls

        public javax.naming.directory.SearchControls getControls()