[cas-dev] Feature Request: Mark RegisteredService Serializable

Marvin Addison serac at vt.edu
Thu Jan 11 11:18:49 EST 2007


We recently had the need to subclass RegisteredService to add additional
properties.  Since we wanted to expose the subclass to the login view,
it was necessary to add it to the flow context of the login webflow.
This, however, required the class to be serializable.  Since this
required all ancestors to be serializable as well, we edited
RegisteredService.java thus:

public class RegisteredService implements Serializable {
    static final long serialVersionUID = 1168532137393325000L;

I imagine this use case might be common enough that the change would
benefit the community.  I would be happy to provide a patch.

Regards,
Marvin Addison
Application Programming Analyst
Collaborative Technologies Unit
Virginia Tech


More information about the cas-dev mailing list