Examples of UserContext


Examples of org.oasis.wsrp.v2.UserContext

      }

      Registration registration = producer.getRegistrationOrFailIfInvalid(setExportLifetime.getRegistrationContext());

      // check if we have a valid userContext or not
      UserContext userContext = setExportLifetime.getUserContext();
      checkUserAuthorization(userContext);

      try
      {
         RegistrationLocal.setRegistration(registration);
View Full Code Here

Examples of org.onebusaway.webapp.gwt.where_library.UserContext

   *
   ****/

  private void loadBookmark() {
    _bookmarkId = Integer.parseInt(Location.getParameter("id"));
    UserContext context = UserContext.getContext();
    context.getCurrentUser(new UserCallback());
  }
View Full Code Here

Examples of org.waveprotocol.box.waveimport.google.oauth.UserContext

  /*
   * Export waves to files
   */
  public void exportWavesToFiles() {
    HttpClient httpClient = new HttpClient();
    UserContext context = new UserContext();
    context.setParticipantId(new ParticipantId(participantId));
    OAuthCredentials cred = new OAuthCredentials(refreshToken, accessToken);
    context.setOAuthCredentials(cred);
    OAuthRequestHelper helper = new OAuthRequestHelper(clientId, clientSecret, context);
    OAuthedFetchService oauthService = new OAuthedFetchService(httpClient, helper);
    RobotApi api = new RobotApi(oauthService, WAVE_RPC);
    try {
      List<String> waves = includeList;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.