Skip to content

Commit

Permalink
Merge pull request #35 from sa-rrowcliffe/develop
Browse files Browse the repository at this point in the history
Patch for missing json in response @JsonIgnorePropteries
  • Loading branch information
Ryan Rowcliffe authored Jun 28, 2018
2 parents 5e2c041 + c18a5b9 commit 88ecfb2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/secureauth/sarestapi/data/Factors.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.secureauth.sarestapi.data;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.secureauth.sarestapi.resources.s;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/secureauth/sarestapi/data/Geoloc.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.secureauth.sarestapi.data;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.secureauth.sarestapi.util.JSONUtil;

Expand Down Expand Up @@ -27,6 +28,7 @@

@XmlRootElement(name="geoloc")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Geoloc {

private String country;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/secureauth/sarestapi/data/IPEval.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.secureauth.sarestapi.data.Response.BaseResponse;
import org.secureauth.sarestapi.util.JSONUtil;
Expand All @@ -28,6 +29,7 @@

@XmlRootElement(name="IPEval")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class IPEval extends BaseResponse {

private IPEvaluation ip_evaluation;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/secureauth/sarestapi/data/IPEvaluation.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.secureauth.sarestapi.data;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.secureauth.sarestapi.util.JSONUtil;

Expand Down Expand Up @@ -29,6 +30,7 @@

@XmlRootElement(name="ip_evaluation")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class IPEvaluation {

private String method;
Expand Down

0 comments on commit 88ecfb2

Please sign in to comment.