org.jasig.cas.adaptors.ldap.services
Class LdapServiceRegistryDao
java.lang.Object
org.jasig.cas.adaptors.ldap.services.LdapServiceRegistryDao
- All Implemented Interfaces:
- ServiceRegistryDao
public final class LdapServiceRegistryDao
- extends java.lang.Object
- implements ServiceRegistryDao
Implementation of the ServiceRegistryDao interface which stores the services in a LDAP Directory
- Author:
- Siegfried Puchbauer, SPP (http://www.spp.at), Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapServiceRegistryDao
public LdapServiceRegistryDao()
save
public RegisteredService save(RegisteredService rs)
- Specified by:
save in interface ServiceRegistryDao
update
public RegisteredService update(RegisteredServiceImpl registeredService)
lookupCtx
protected org.springframework.ldap.core.DirContextAdapter lookupCtx(java.lang.String dn)
findDn
protected java.lang.String findDn(java.lang.String filter)
delete
public boolean delete(RegisteredService registeredService)
- Specified by:
delete in interface ServiceRegistryDao
load
public java.util.List<RegisteredService> load()
- Specified by:
load in interface ServiceRegistryDao
findServiceById
public RegisteredService findServiceById(long id)
- Specified by:
findServiceById in interface ServiceRegistryDao
setServiceBaseDN
public void setServiceBaseDN(java.lang.String serviceBaseDN)
setLdapTemplate
public void setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
setIgnoreMultipleSearchResults
public void setIgnoreMultipleSearchResults(boolean ignoreMultipleSearchResults)
setLdapServiceMapper
public void setLdapServiceMapper(LdapServiceMapper ldapServiceMapper)
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.