public abstract class LdapServiceMapper extends org.springframework.ldap.core.simple.AbstractParameterizedContextMapper<RegisteredService>
| Constructor and Description |
|---|
LdapServiceMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.springframework.ldap.core.DirContextAdapter |
createCtx(String parentDn,
RegisteredService service)
Create a new DirContextAdapter (set the naming attribute, sub-path etc.)
|
protected abstract RegisteredService |
doMapFromContext(org.springframework.ldap.core.DirContextOperations ctx)
Method inherited from AbstractParameterizedContextMapper<RegisteredService>
Should read the attributes from the DirContextAdapter and create a
RegisteredService |
protected abstract org.springframework.ldap.core.DirContextAdapter |
doMapToContext(RegisteredService service,
org.springframework.ldap.core.DirContextAdapter ctx)
This method should map the properties of the RegisteredService to the DirContextAdapter
|
protected abstract org.springframework.ldap.filter.Filter |
getLoadFilter()
This method returns the LDAP Filter whichs fetches all Registered Services
|
protected abstract org.springframework.ldap.filter.Filter |
getSearchFilter(Long id)
This method returns the LDAP Filter for finding registered Services based on the given ID
|
protected abstract RegisteredService doMapFromContext(org.springframework.ldap.core.DirContextOperations ctx)
RegisteredServicedoMapFromContext in class org.springframework.ldap.core.simple.AbstractParameterizedContextMapper<RegisteredService>ctx - the DirContextAdapter to read fromprotected abstract org.springframework.ldap.core.DirContextAdapter doMapToContext(RegisteredService service, org.springframework.ldap.core.DirContextAdapter ctx)
service - the RegisteredServicectx - the DirContextAdapterprotected abstract org.springframework.ldap.core.DirContextAdapter createCtx(String parentDn, RegisteredService service)
parentDn - the base DN for Registered Servicesservice - the serviceprotected abstract org.springframework.ldap.filter.Filter getSearchFilter(Long id)
id - The registered service's IDorg.springframework.ldap.filter.Filterprotected abstract org.springframework.ldap.filter.Filter getLoadFilter()
org.springframework.ldap.filter.FilterCopyright © 2004-2012 Jasig. All Rights Reserved.