Changeset 1544


Ignore:
Timestamp:
03/05/14 08:28:16 (5 years ago)
Author:
philsmart
Message:
 
Location:
raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/event
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/event/EduoroamRadiusAuthenticationEvent.java

    r1362 r1544  
    2020import uk.ac.cardiff.utility.StringUtils; 
    2121 
    22 public class RadiusAuthenticationEvent extends AuthenticationEvent { 
     22public class EduoroamRadiusAuthenticationEvent extends AuthenticationEvent { 
    2323    /* 
    2424     * grep for Auth Login OK AND grep for without @ in the line 
     
    3333     *  
    3434     * @param event 
    35      *            the {@link RadiusAuthenticationEvent} to copy. 
     35     *            the {@link EduoroamRadiusAuthenticationEvent} to copy. 
    3636     */ 
    37     protected RadiusAuthenticationEvent(RadiusAuthenticationEvent event) { 
     37    protected EduoroamRadiusAuthenticationEvent(EduoroamRadiusAuthenticationEvent event) { 
    3838        super(event); 
    3939        this.clientIdentifier = event.clientIdentifier; 
     
    4343     * Instantiates a new shibboleth idp authentication event. 
    4444     */ 
    45     public RadiusAuthenticationEvent() { 
     45    public EduoroamRadiusAuthenticationEvent() { 
    4646        super(); 
    4747    } 
     
    5050     * New instance. 
    5151     *  
    52      * @return the {@link RadiusAuthenticationEvent} authentication event 
     52     * @return the {@link EduoroamRadiusAuthenticationEvent} authentication event 
    5353     */ 
    54     public static RadiusAuthenticationEvent newInstance() { 
    55         return new RadiusAuthenticationEvent(); 
     54    public static EduoroamRadiusAuthenticationEvent newInstance() { 
     55        return new EduoroamRadiusAuthenticationEvent(); 
    5656    } 
    5757 
     
    6161     * @return the shibboleth idp authentication event 
    6262     */ 
    63     public RadiusAuthenticationEvent copy() { 
    64         return new RadiusAuthenticationEvent(this); 
     63    public EduoroamRadiusAuthenticationEvent copy() { 
     64        return new EduoroamRadiusAuthenticationEvent(this); 
    6565    } 
    6666 
     
    116116        if ((obj == null) || (obj.getClass() != this.getClass())) 
    117117            return false; 
    118         RadiusAuthenticationEvent that = (RadiusAuthenticationEvent) obj; 
     118        EduoroamRadiusAuthenticationEvent that = (EduoroamRadiusAuthenticationEvent) obj; 
    119119        boolean areEqual = EqualsUtil.areEqual(this.getEventTimeMillis(), that.getEventTimeMillis()) && EqualsUtil.areEqual(this.getEventId(), that.getEventId()) 
    120120                && EqualsUtil.areEqual(this.getAuthenticationType(), that.getAuthenticationType()) && EqualsUtil.areEqual(this.getServiceHost(), that.getServiceHost()) 
  • raptor-information-model/trunk/src/main/java/uk/ac/cardiff/model/event/event.hbm.xml

    r1516 r1544  
    9292    </union-subclass> 
    9393 
    94     <union-subclass extends="uk.ac.cardiff.model.event.AuthenticationEvent" name="uk.ac.cardiff.model.event.RadiusAuthenticationEvent"> 
     94    <union-subclass extends="uk.ac.cardiff.model.event.AuthenticationEvent" name="uk.ac.cardiff.model.event.EduroamRadiusAuthenticationEvent"> 
    9595        <property name="clientIdentifier" column="clientIdentifier" type="string" /> 
     96    </union-subclass> 
     97     
     98    <union-subclass extends="uk.ac.cardiff.model.event.AuthenticationEvent" name="uk.ac.cardiff.model.event.MoonshotRadiusAuthenticationEvent"> 
     99        <property name="clientIdentifier" column="clientIdentifier" type="string" /> 
     100         
    96101    </union-subclass> 
    97102     
Note: See TracChangeset for help on using the changeset viewer.