Mike,

Thanks for the response.

More below.

On Sep 27, 2007, at 3:33 PM, Mike Kennedy wrote:

> Lucas,
>
> We are currently just beginning work on this at our site.  
> Unfortunately
> since we are just in the planning stages I can't give you more than  
> what we
> plan to do.
>
> We created a new objectClass in our ldap directory that services  
> entries
> will use.

That is a good start. I assume you used something like  
org.jasig.cas.services.RegisteredServiceImpl to determine all the  
datatypes?

I do not see these defined anywhere else (well, as "gets" in  
org.jasig.cas.services.RegisteredService), unless I am missing  
something.

> We are then going to implement the  
> org.jasig.cas.services.ServiceRegistry,
> org.jasig.cas.services.ServiceRegistryManager and
> org.jasig.cas.services.ServiceRegistryReloader interfaces to use  
> ldap via
> JNDI to do lookups as necessary on those services entries.

How will you deal with the "id" attribute? Are you going to do like  
in RegisteredServiceImpl where they use GenerationType.AUTO?

I notice, too, that the DefaultServicesManagerImpl implements the  
reload() method, however, does the CAS part of the Registered  
Services require that the services be reloaded after a change, or  
does it do a lookup for each new request?

> When the project is finished I will also put something in the wiki.

Great!

-lucas

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:cas- 
> [EMAIL PROTECTED] On
> Behalf Of Lucas Rockwell
> Sent: Thursday, September 27, 2007 2:51 PM
> To: Yale CAS mailing list
> Subject: Service Registry in LDAP...
>
> Hi all,
>
> I would like to put the Service Registry information in our LDAP
> server, but I am feeling a little lost.
>
> I see this page http://www.ja-sig.org/wiki/display/CASUM/Configuring
> for configuring the backend as a database, but I don't think it is as
> straight-forward for ldap, especially since we don't let applications
> just create new schema objects on the fly (as it looks like that is
> what the Hibernate code is doing for a database).
>
> It looks like InMemoryServiceRegistryDaoImpl just implements
> ServiceRegistryDao, but even looking at those two things and all the
> other classes in that package do not give me a clear picture about
> how to do this with ldap.
>
> Also, there is CAS itself that has to interact with the Registry, as
> well as the management "console", but perhaps all of that is done via
> the one "serviceRegistryDao" bean in applicationContext.xml...
>
> Any pointers to get me started would be great.
>
> Of course, I'll gladly put the solution on the wiki.
>
> Thanks!
>
> -lucas
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to