
com.shapestone.authentication.Authentication Maven / Gradle / Ivy
The newest version!
package com.shapestone.authentication;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* Name: Michael Williams
* Date: 10/2/16.
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(exclude = {"modifiedDate"})
@JsonIgnoreProperties(ignoreUnknown = true)
public class Authentication {
private String authenticationId;
private String username;
private String hashPassword;
private String userAgent;
private String ipAddress;
private String language;
private String fingerPrint;
private Boolean failed;
private String message;
private String customerPartyId;
private Long modifiedDate;
private Long createdDate;
public Authentication(Authentication authentication) {
this.authenticationId = authentication.authenticationId;
this.username = authentication.username;
this.hashPassword = authentication.hashPassword;
this.userAgent = authentication.userAgent;
this.ipAddress = authentication.ipAddress;
this.language = authentication.language;
this.fingerPrint = authentication.fingerPrint;
this.failed = authentication.failed;
this.message = authentication.message;
this.customerPartyId = authentication.customerPartyId;
this.modifiedDate = authentication.modifiedDate;
this.createdDate = authentication.createdDate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy