Class AbstractSecuredLocalService

  • Direct Known Subclasses:
    AccountFormService

    public abstract class AbstractSecuredLocalService
    extends Object
    Helper class for securing local services. Provides login basics as well as CSRF check basics
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Method Detail

      • loginRedirect

        @Path("login-redirect")
        @GET
        public javax.ws.rs.core.Response loginRedirect​(@QueryParam("code")
                                                       String code,
                                                       @QueryParam("state")
                                                       String state,
                                                       @QueryParam("error")
                                                       String error,
                                                       @QueryParam("path")
                                                       String path,
                                                       @QueryParam("referrer")
                                                       String referrer)
      • getValidPaths

        protected abstract Set<String> getValidPaths()
      • getBaseRedirectUri

        protected abstract URI getBaseRedirectUri()
      • login

        protected javax.ws.rs.core.Response login​(String path)