Class SilverpeasUserSessionTokenResource

    • Constructor Detail

      • SilverpeasUserSessionTokenResource

        public SilverpeasUserSessionTokenResource()
    • Method Detail

      • getToken

        @GET
        public javax.ws.rs.core.Response getToken()
        Gets a SilverpeasWebTokenService.WebToken value linked to the current user session.
        Returns:
        a JSON object containing the token into 'token' attribute.
      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.