Upgrading

Table of Contents
Home
Overall Architecture
Authentication
Authentication Managers
Security Policy
TicketRegistry
Testing
Protocols
Advanced Features
Tutorials and HOWTOs
Troubleshooting
Services Management
Extensions

CAS 3.3.0 to CAS 3.3.1

Database Changes

update RegisteredServiceImpl set evaluation_order = 100;

insert into rs_attributes ( RegisteredServiceImpl_id, a_name, a_id )
select
RegisteredServiceImpl_id,element,allowed_attribute_id from
RegisteredServiceImpl_allowedAttributes;

CAS 3.2.1 to CAS 3.3

NOTE this assumes you're using the Maven WAR overlay method

in cas.properties

  • remove cas.securityContext.casProxyTicketValidator.casValidate and add cas.securityContext.ticketValidator.casServerUrlPrefix

in deployerConfigContext.xml

  • change org.acegisecurity.userdetails.memory.InMemoryDaoImpl to org.springframework.security.userdetails.memory.InMemoryDaoImpl

Database Changes

  • In the Services Management tool, the list of attributes associated with a service has now moved to its own table to resolve some saving issues as well as limits on the size of the original attributes field. We currently don't have a tool to extract that and place it into the new tables.
  • In the JpaTicketRegistry, the TicketGrantingTicket values that used to be AtomicBooleans and thus stored as blobs, etc. are now booleans, so the database tables are incompatible. This change was made support Terracotta. There is currently no script to convert the old data.

Other Changes

  • Any class in the server-core that relied on the Spring LDAP module was moved to the server-support-ldap module so you'll need to include that if you reference those classes.

CAS 3.3.5 to CAS 3.4

NOTE this assumes you're using the Maven WAR overlay method

in cas-servlet.xml

  • You will need to bring in the latest version and apply any changes you had made.

in cas.properties

  • add cas.securityContext.serviceProperties.adminRoles=ROLE_ADMIN
    Names of roles allowed to access the CAS service manager

in deployerConfigContext.xml

  • update the namespaces to reflect the upgrade to Spring 3 and Spring Security 3
  • update the userDetailsService bean to reflect the upgrade to Spring Security 3
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.