Class AbstractResource

    • Field Detail

      • requestHeaders

        @Context
        protected jakarta.ws.rs.core.HttpHeaders requestHeaders
      • uriInfo

        @Context
        protected jakarta.ws.rs.core.UriInfo uriInfo
      • subjectRef

        @Inject
        protected org.glassfish.jersey.internal.util.collection.Ref<Subject> subjectRef
      • securityContext

        @Context
        protected jakarta.ws.rs.core.SecurityContext securityContext
      • serviceLocator

        @Context
        protected org.glassfish.hk2.api.ServiceLocator serviceLocator
      • logger

        protected static final Logger logger
    • Constructor Detail

      • AbstractResource

        public AbstractResource()
    • Method Detail

      • getSubject

        protected Subject getSubject()
        This method will return the Subject associated with the current request.
        Returns:
      • getAuthenticatedUser

        protected String getAuthenticatedUser()
        This method will return the authenticated user associated with the current request.
        Returns: