Changes between Version 7 and Version 8 of TechnicalInfo/Extensions/AddingModelClasses


Ignore:
Timestamp:
12/09/12 21:03:43 (6 years ago)
Author:
smartp@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TechnicalInfo/Extensions/AddingModelClasses

    v7 v8  
    320320 
    321321}}} 
     322 
     323== Receiving the new event type == 
     324 
     325the {{{mua-core.xml}}} file needs to have the new event type registered with it for it to receive events. Add to the {{{aegisBean.xml}}} the new event type: 
     326 
     327{{{ 
     328  <value>uk.ac.cardiff.model.event.AuthenticationEvent</value> 
     329                        <value>uk.ac.cardiff.model.event.ShibbolethIdpAuthenticationEvent</value> 
     330                        <value>uk.ac.cardiff.model.event.ShibbolethSpAuthenticationEvent</value> 
     331                        <value>uk.ac.cardiff.model.event.EzproxyAuthenticationEvent</value> 
     332                        <value>uk.ac.cardiff.model.event.OpenathenslaAuthenticationEvent</value> 
     333                        <value>uk.ac.cardiff.model.event.RadiusAuthenticationEvent</value> 
     334                        <value>uk.ac.cardiff.model.event.GenericAuthenticationEvent</value> 
     335 
     336}}}  
     337 
     338 
     339Add to the {{{registeredConcreteEventTypes}}} bean the new event type: 
     340 
     341{{{ 
     342 
     343 <bean class="uk.ac.cardiff.raptor.registry.RegisteredEventType"> 
     344                    <property name="eventType"> <value type="java.lang.Class">uk.ac.cardiff.model.GenericAuthenticationEvent</value></property>                     
     345                    <property name="concrete" value="true"/> 
     346                </bean> 
     347 
     348}}} 
     349