Giter VIP home page Giter VIP logo

saidp-sdk-java's People

Contributors

drossi-sa avatar ejsecrist avatar elordahl avatar glacuesta-sa avatar ldingsa avatar mhubersa avatar mschaab-sa avatar naraujo-sa avatar rrowcliffe avatar sa-sbertran avatar thomasleplus avatar usacodad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saidp-sdk-java's Issues

Support for Language Header

Need to support delivery of One Time Passcodes in native languages.
This will need to become an option to add Accept Language as a configurable parameter

Exception handling

Add exception handling in the SDK. This will allow users of the SDK to not be required to parse responses to identify errors in response.

correct groupid?

Is the current group-id correct? The maven metadata currently looks like:

<dependency>
    <groupId>org.secureauth.sarestapi</groupId>
    <artifactId>saRestApi</artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

Security vulnerabilities found

Hello,

It appears that the dependencies that the library is using are out-of-date.

image

image

Can you please update them?

Thank you,
Roman

Error:Already connected javax.ws.rs.ProcessingException: Already connected

@rrowcliffe @thomasleplus @CharlieC3 @elordahl

We are using websphere 9 as app server running on JAVA8 , and have currenlty support to TLS1.0 , TLS1.1 and TSL 1.2.
Error:Already connected javax.ws.rs.ProcessingException: Already connected error on making API calls

Stack :
https://XXXX:443/secureauth1/api/v1/adaptauth
Error:Already connected
javax.ws.rs.ProcessingException: Already connected
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:236)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:655)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:652)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:652)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:412)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:321)
at org.secureauth.sarestapi.resources.SAExecuter.executePostRequest(SAExecuter.java:406)
at org.secureauth.sarestapi.SAAccess.adaptiveAuthQuery(SAAccess.java:188)

Properties set when creating api connection :
ssl=true
selfSigned=false or selfSigned=true ( both have same issue)

We also added self-signed cert on websphere , dint make any difference .

NOTE : I can make https calls from my local machine without any issue with the following property settings and no certs in place:

ssl=true
selfSigned=true

PS . found this piece of code in SAExceuter.java

org.secureauth.sarestapi.resources.SAExecuter#createConnection
ctx = SSLContext.getInstance("TLS"); does it supposed to be TLSv1.0 /TLSv1.2 ?

Bad Request on every api call with v1.0.3

after migrating from v1.0.1 to v1.0.3, every API call to the secureAuth instance (v9.2.0) SAExecuter returns back "Bad Request"

Note : The same request(s) works with v1.0.1 .
Note: All provided integration tests are failing with the same issue.

PFA
secure-auth-api-error

validateUserPin call always returns pin "INVALID"

@sa-rrowcliffe
validateUserPin call always returns pin as invalid even providing right pin value

scenario:
step1: deliverAdHocOTPByPhone ==> (userid , phoneNumber) ==>
{
"status": "valid",
"message": "",
"user_id": "userid",
"otp": 495723
}

step 2: validateOTP (userid, 495723) ==>
{
"status": "invalid",
"message": "PIN is invalid."
}

Note : this is happening with v1.0.1 and later API versions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.