Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 282863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:19:29+00:00 2026-05-12T05:19:29+00:00

In the white paper, it said that we can use REST to ask for

  • 0

In the white paper, it said that we can use REST to ask for the token then use the token to attache to the request we are going to fire, then can invoke the service in the service bus, how ever, i cannot get the token

Bellow are the codes i use to make REST call, i can get the result, but which was a html error page..
i didn`t get any token…and i am sure my solution name and password are correct. coz my service in the cloud are RESTful service, when i put the service endpoint onto the broswer, it ask me to input my solution name and password, i input the same as in use in the code below, and it work just fine…

can anyone tell me why the code below i cannot get what the white said??

public static String call() {
    try {
        HttpClient client = new HttpClient();
        String uri = String.format("https://accesscontrol.windows.net/isssuetoken.aspx?u=%s&p=%s", "solutionname", "password");
        log.debug("Out going uri is : " + uri);
        GetMethod get = new GetMethod(uri);
        int status = client.executeMethod(get);
        byte[] responseBody = get.getResponseBody();
        log.debug("status return is : " + status);
        if (status == HttpStatus.SC_OK) {
            return new String(responseBody);
        }
    } catch (Exception ex) {
        log.error("Error while calling AccessControl protal.", ex);
    }        
    return null;
}

================ Below are the words from white paper =============

https://accesscontrol.windows.net/isssuetoken.aspx?u={solution-name}&p={password}

The response contains a reference cookie (in plain text format) to a token held within the .NET Access Control Service. The client can use the cookie to gain access to the relay service by adding the cookie value to outgoing HTTP requests in a custom HTTP header named “X-MS-Identity-Token”. When using this technique, Microsoft strongly recommends using HTTPS to protect the cookie value on the wire. For more information on the .NET Access Control Service, and to learn specifically about how you can use it in conjunction with your own services (not just through the .NET Service Bus), see the accompanying whitepaper called A Developer’s Guide to the .NET Access Control Service.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:19:30+00:00Added an answer on May 12, 2026 at 5:19 am
        String uri = String.format("https://accesscontrol.windows.net/isssuetoken.aspx?u=%s&p=%s", "solutionname", "password");
    

    the like above is wrong…
    the white paper get a misstake,

    there is one extra ‘s’ in the link,
    it should be
    String uri = String.format(“https://accesscontrol.windows.net/issuetoken.aspx?u=%s&p=%s“, “solutionname”, “password”);

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a RewriteMap that looks like this: Guide 1 Mini-Guide 2 White Paper
I've got an image that I've scanned, but the white paper is not white
There is a white paper comparison between these 2 servers in the area of
I am using White as my framework for my UI automation testing. Can I
I've built a white label website in PHP that uses templates. Each white label
After reading the Java White Paper, I have a question on my mind and
Has anyone seen details or a White paper on azure security and the positives
Recently, I read a white paper by an individual who refers to a pointer
OK, I know already all the reasons on paper why I should not use
I'm writing a program that add a substring to a black or a white

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.