Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Authorization problem via ALM API in java 401 Unauthorized

$
0
0

Thanks,

It worked perfect,

The problem seems to be the missing of this two lines :

        byte[] credBytes = (username + ":" + password).getBytes();
        String credEncodedString = "Basic " + new BASE64Encoder().encode(credBytes);

:)


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>