Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting java.lang.ArrayIndexOutOfBoundsException while authenticating REST API #2

Open
mksmanjit opened this issue Dec 15, 2017 · 0 comments

Comments

@mksmanjit
Copy link

mksmanjit commented Dec 15, 2017

Hi ,

I am trying to integrate Picketlink with my REST API calls, I have lot of APIs one of them is login API which
authenticate the user and return a Token in subsequent calls.

So i used picketlink-rest but i am getting below error

org.picketlink.rest.api.PicketLinkRestClient.getAssertion() // line 177 and WebForm responseForm = webResponse.getForms()[0];
org.picketlink.rest.api.PicketLinkRestClientException: java.lang.ArrayIndexOutOfBoundsException: 0
at org.picketlink.rest.api.PicketLinkRestClient.callSAML20IDP(PicketLinkRestClient.java:104)

Please help me in this.

Thanks,
Manjit Kumar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant