I believe I have basic authentication working but I\'m not sure how to protect resources so that they can only be accessed when the user is signed in.
publi
Sorry for being a simple user . I believe you can protect the resource by using a @Auth User user
public Service1Bean Service1Method1( @Auth User user, @QueryParam("name") com.google.common.base.Optional name) {