public final class DefaultLdapServiceMapper extends LdapServiceMapper
| Constructor and Description |
|---|
DefaultLdapServiceMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.ldap.core.DirContextAdapter |
createCtx(String parentDn,
RegisteredService service)
Create a new DirContextAdapter (set the naming attribute, sub-path etc.)
|
protected 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 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 org.springframework.ldap.filter.Filter |
getLoadFilter()
This method returns the LDAP Filter whichs fetches all Registered Services
|
protected org.springframework.ldap.filter.Filter |
getSearchFilter(Long id)
This method returns the LDAP Filter for finding registered Services based on the given ID
|
void |
setIdAttribute(String idAttribute) |
void |
setNamingAttribute(String namingAttribute) |
void |
setObjectclass(String objectclass) |
void |
setServiceAllowedAttributesAttribute(String serviceAllowedAttributesAttribute) |
void |
setServiceAllowedToProxyAttribute(String serviceAllowedToProxyAttribute) |
void |
setServiceAnonymousAccessAttribute(String serviceAnonymousAccessAttribute) |
void |
setServiceDescriptionAttribute(String serviceDescriptionAttribute) |
void |
setServiceEnabledAttribute(String serviceEnabledAttribute) |
void |
setServiceIdAttribute(String serviceIdAttribute) |
void |
setServiceSsoEnabledAttribute(String serviceSsoEnabledAttribute) |
void |
setServiceThemeAttribute(String serviceThemeAttribute) |
protected RegisteredService doMapFromContext(org.springframework.ldap.core.DirContextOperations ctx)
LdapServiceMapperRegisteredServicedoMapFromContext in class LdapServiceMapperctx - the DirContextAdapter to read fromprotected org.springframework.ldap.core.DirContextAdapter doMapToContext(RegisteredService service, org.springframework.ldap.core.DirContextAdapter ctx)
LdapServiceMapperdoMapToContext in class LdapServiceMapperservice - the RegisteredServicectx - the DirContextAdapterprotected org.springframework.ldap.core.DirContextAdapter createCtx(String parentDn, RegisteredService service)
LdapServiceMappercreateCtx in class LdapServiceMapperparentDn - the base DN for Registered Servicesservice - the serviceprotected org.springframework.ldap.filter.Filter getSearchFilter(Long id)
LdapServiceMappergetSearchFilter in class LdapServiceMapperid - The registered service's IDorg.springframework.ldap.filter.Filterprotected org.springframework.ldap.filter.Filter getLoadFilter()
LdapServiceMappergetLoadFilter in class LdapServiceMapperorg.springframework.ldap.filter.Filterpublic void setObjectclass(String objectclass)
public void setServiceIdAttribute(String serviceIdAttribute)
public void setIdAttribute(String idAttribute)
public void setServiceDescriptionAttribute(String serviceDescriptionAttribute)
public void setNamingAttribute(String namingAttribute)
public void setServiceEnabledAttribute(String serviceEnabledAttribute)
public void setServiceSsoEnabledAttribute(String serviceSsoEnabledAttribute)
public void setServiceAnonymousAccessAttribute(String serviceAnonymousAccessAttribute)
public void setServiceAllowedToProxyAttribute(String serviceAllowedToProxyAttribute)
public void setServiceThemeAttribute(String serviceThemeAttribute)
public void setServiceAllowedAttributesAttribute(String serviceAllowedAttributesAttribute)
Copyright © 2004-2012 Jasig. All Rights Reserved.