|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ldap.core.simple.AbstractParameterizedContextMapper<RegisteredService>
org.jasig.cas.adaptors.ldap.services.LdapServiceMapper
public abstract class LdapServiceMapper
The LdapServiceMapper is responsible for how RegisteredService instances are mapped to LDAP Contexts and vice versa
| Constructor Summary | |
|---|---|
LdapServiceMapper()
|
|
| Method Summary | |
|---|---|
protected abstract org.springframework.ldap.core.DirContextAdapter |
createCtx(java.lang.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(java.lang.Long id)
This method returns the LDAP Filter for finding registered Services based on the given ID |
| Methods inherited from class org.springframework.ldap.core.simple.AbstractParameterizedContextMapper |
|---|
mapFromContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapServiceMapper()
| Method Detail |
|---|
protected abstract RegisteredService doMapFromContext(org.springframework.ldap.core.DirContextOperations ctx)
RegisteredService
doMapFromContext in class org.springframework.ldap.core.simple.AbstractParameterizedContextMapper<RegisteredService>ctx - the DirContextAdapter to read from
protected abstract org.springframework.ldap.core.DirContextAdapter doMapToContext(RegisteredService service,
org.springframework.ldap.core.DirContextAdapter ctx)
service - the RegisteredServicectx - the DirContextAdapter
protected abstract org.springframework.ldap.core.DirContextAdapter createCtx(java.lang.String parentDn,
RegisteredService service)
parentDn - the base DN for Registered Servicesservice - the service
protected abstract org.springframework.ldap.filter.Filter getSearchFilter(java.lang.Long id)
id - The registered service's ID
org.springframework.ldap.filter.Filterprotected abstract org.springframework.ldap.filter.Filter getLoadFilter()
org.springframework.ldap.filter.Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||