1. Create a rest folder with JAXRSConfiguration.java: package com.pluralsight.bookstore.rest; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("api") public class JAXRSConfiguration extends Application {…
http://bitoftech.net/2015/02/16/implement-oauth-json-web-tokens-authentication-in-asp-net-web-api-and-identity-2/ Currently our API doesn’t support authentication and authorization, all the requests we receive to any end point are done anonymously, I…
So what is a Bean, in JavaEE, any class expect Entity are Bean. One usefully thing in Bean is Dependency injection. Just like Angular, it is just a Class. package com.pluralsight.bookstore.utils; public class TextUtil { public String sanitize(String…