apisecurityinaction icon indicating copy to clipboard operation
apisecurityinaction copied to clipboard

Source code that accompanies the book API Security in Action

Results 9 apisecurityinaction issues
Sort by recently updated
recently updated
newest added

SpaceController.java requires import of 2 packages: import java.sql.SQLException; import java.sql.Statement; loving your book :)

From Chapter 3 when I execute this getting Bad Message 400 , what Im missing here ? # curl -k --cacert "$(./mkcert -CAROOT)/rootCA.pem" -d ‘{"username":"demo","password":"password"}’ -H ‘Content-Type:application/json’ https://localhost:4567/users curl: (3)...

After implementing the code for adding and checking groups from the opening of Chapter 8.1, my app is failing with this NPE: ``` java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "groups" is...

Dear Mr. Madden, Could you please write the examples of the following book with .Net/C#? (for example for new version of this book) API Security in Action - ISBN 9781617296024...

I've completed all the first section of chapter 5. I've created a `CorsFilter` class with this content ``` package com.manning.apisecurityinaction; import spark.Filter; import spark.Request; import spark.Response; import java.util.Set; import static...

In Listing 6.3, there's a line that goes: ```java var header = new JWSHeader(JWSAlgorithm.HS256); ``` Presumably, this should instead be: ```java var header = new JWSHeader(algorithm); ``` since the algorithm...