forked from SecureAuthCorp/saidp-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAD-780: SAExecute request error masked by useless exception
- Loading branch information
1 parent
2f2a248
commit 453e060
Showing
7 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
currentVersion=1.1.0.11 | ||
currentVersion=9.9.9.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/org/secureauth/sarestapi/data/Response/StatefulResponseObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/main/java/org/secureauth/sarestapi/filters/SACheckRequestFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,13 @@ | |
import java.util.Optional; | ||
|
||
import javax.net.ssl.*; | ||
import javax.ws.rs.client.*; | ||
import javax.ws.rs.core.Cookie; | ||
import javax.ws.rs.core.MediaType; | ||
|
||
import com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider; | ||
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider; | ||
import jakarta.ws.rs.client.*; | ||
import jakarta.ws.rs.core.*; | ||
import org.glassfish.jersey.client.ClientProperties; | ||
import org.glassfish.jersey.jackson.JacksonFeature; | ||
import org.secureauth.sarestapi.data.*; | ||
import org.secureauth.sarestapi.data.BehavioralBio.BehaveBioRequest; | ||
import org.secureauth.sarestapi.data.Requests.BehaveBioResetRequest; | ||
|
@@ -39,9 +41,6 @@ | |
//Jersey 2 Libs | ||
import org.glassfish.jersey.client.ClientConfig; | ||
|
||
import javax.ws.rs.core.NewCookie; | ||
import javax.ws.rs.core.Response; | ||
|
||
|
||
/** | ||
* @author [email protected] | ||
|
@@ -129,6 +128,8 @@ private void createConnection() throws SARestAPIException { | |
ctx.init(null, SATrustManagerFactory.createTrustsManagersFor( this.saBaseURL ) , new SecureRandom()); | ||
config.register(SACheckRequestFilter.class); | ||
config.register( this.xRequestIDFilter ); | ||
config.register(JacksonFeature.class); | ||
|
||
client = ClientBuilder.newBuilder() | ||
.withConfig(config) | ||
.sslContext(ctx) | ||
|