Package ome.security.auth
Class GroupContextMapper
- java.lang.Object
-
- ome.security.auth.OmeroModelContextMapper
-
- ome.security.auth.GroupContextMapper
-
- All Implemented Interfaces:
org.springframework.ldap.core.ContextMapper
public class GroupContextMapper extends OmeroModelContextMapper
Specialized OME ExperimenterGroup context mapper.
-
-
Constructor Summary
Constructors Constructor Description GroupContextMapper(LdapConfig cfg, java.lang.String base)
GroupContextMapper(LdapConfig cfg, java.lang.String base, java.lang.String attribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(java.lang.String attribute, org.springframework.ldap.core.DirContextAdapter context)
javax.naming.directory.SearchControls
getControls()
java.lang.Object
mapFromContext(java.lang.Object obj)
-
Methods inherited from class ome.security.auth.OmeroModelContextMapper
getAttribute, getAttributeSet, getDn
-
-
-
-
Constructor Detail
-
GroupContextMapper
public GroupContextMapper(LdapConfig cfg, java.lang.String base)
-
GroupContextMapper
public GroupContextMapper(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 interfaceorg.springframework.ldap.core.ContextMapper
- Specified by:
mapFromContext
in classOmeroModelContextMapper
-
getControls
public javax.naming.directory.SearchControls getControls()
-
-