|
||||||||||
| 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
org.jasig.cas.adaptors.ldap.services.DefaultLdapServiceMapper
public final class DefaultLdapServiceMapper
Default implementation of LdapServiceMapper which maps each property of RegisteredService to a explicit LDAP attribute
| Constructor Summary | |
|---|---|
DefaultLdapServiceMapper()
|
|
| Method Summary | |
|---|---|
protected org.springframework.ldap.core.DirContextAdapter |
createCtx(java.lang.String parentDn,
RegisteredService servivce)
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(java.lang.Long id)
This method returns the LDAP Filter for finding registered Services based on the given ID |
void |
setIdAttribute(java.lang.String idAttribute)
|
void |
setNamingAttribute(java.lang.String namingAttribute)
|
void |
setObjectclass(java.lang.String objectclass)
|
void |
setServiceAllowedAttributesAttribute(java.lang.String serviceAllowedAttributesAttribute)
|
void |
setServiceAllowedToProxyAttribute(java.lang.String serviceAllowedToProxyAttribute)
|
void |
setServiceAnonymousAccessAttribute(java.lang.String serviceAnonymousAccessAttribute)
|
void |
setServiceDescriptionAttribute(java.lang.String serviceDescriptionAttribute)
|
void |
setServiceEnabledAttribute(java.lang.String serviceEnabledAttribute)
|
void |
setServiceIdAttribute(java.lang.String serviceIdAttribute)
|
void |
setServiceSsoEnabledAttribute(java.lang.String serviceSsoEnabledAttribute)
|
void |
setServiceThemeAttribute(java.lang.String serviceThemeAttribute)
|
| 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 DefaultLdapServiceMapper()
| Method Detail |
|---|
protected RegisteredService doMapFromContext(org.springframework.ldap.core.DirContextOperations ctx)
LdapServiceMapperRegisteredService
doMapFromContext in class LdapServiceMapperctx - the DirContextAdapter to read from
protected org.springframework.ldap.core.DirContextAdapter doMapToContext(RegisteredService service,
org.springframework.ldap.core.DirContextAdapter ctx)
LdapServiceMapper
doMapToContext in class LdapServiceMapperservice - the RegisteredServicectx - the DirContextAdapter
protected org.springframework.ldap.core.DirContextAdapter createCtx(java.lang.String parentDn,
RegisteredService servivce)
LdapServiceMapper
createCtx in class LdapServiceMapperparentDn - the base DN for Registered Servicesservivce - the service
protected org.springframework.ldap.filter.Filter getSearchFilter(java.lang.Long id)
LdapServiceMapper
getSearchFilter in class LdapServiceMapperid - The registered service's ID
org.springframework.ldap.filter.Filterprotected org.springframework.ldap.filter.Filter getLoadFilter()
LdapServiceMapper
getLoadFilter in class LdapServiceMapperorg.springframework.ldap.filter.Filterpublic void setObjectclass(java.lang.String objectclass)
public void setServiceIdAttribute(java.lang.String serviceIdAttribute)
public void setIdAttribute(java.lang.String idAttribute)
public void setServiceDescriptionAttribute(java.lang.String serviceDescriptionAttribute)
public void setNamingAttribute(java.lang.String namingAttribute)
public void setServiceEnabledAttribute(java.lang.String serviceEnabledAttribute)
public void setServiceSsoEnabledAttribute(java.lang.String serviceSsoEnabledAttribute)
public void setServiceAnonymousAccessAttribute(java.lang.String serviceAnonymousAccessAttribute)
public void setServiceAllowedToProxyAttribute(java.lang.String serviceAllowedToProxyAttribute)
public void setServiceThemeAttribute(java.lang.String serviceThemeAttribute)
public void setServiceAllowedAttributesAttribute(java.lang.String serviceAllowedAttributesAttribute)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||