Hi Seong,

Our records tell us that sofficepack.co.kr is a Standard Edition domain,
although tbizdev.co.kr and several other domains lists it as a reseller. Did
anything change recently in your subscription settings that may have caused
this? This is likely not an API issue, so I'd also suggest you to get in
touch with the Google Apps support team for more details.

Prashant Tiwari | Google Developer Relations <http://code.google.com>



On Fri, Mar 11, 2011 at 5:46 AM, Seong Hong <[email protected]> wrote:

> Last week, we have unexpected problem with google apps until now.
>
> We are providing Tbizpoint Officepack (google apps + our UI) for our
> customers and they are using google apps thru SSO.
>
> A user can access mail, calendar, etc...and also administrator can create
> and delete a user from our UI thru SSO
>
> We need to solve these issue. see below
>
> 1. From the last week, an administrator cannot create or delete a user from
> our UI thru SSO
>
>
> 2. Check ID availability issue - keep getting a error msg.
>
>
> We need to resolve this issue ASAP
>
> Our reseller account is sofficepack.co.kr
>
> we tried other account domain "cloudworks.kr" has got right Responses from
> your API but "sofficepack.co.kr" didn't work...
>
> I already told Jianghan that nothing has been changed for authentication
> strings or other settings. It suddenly happened
>
> please refer to the source as below
> <source>
>
> String domainName = "tbizdev.co.kr";
> String consumerKey = "tbizdev.co.kr";
> String consumerSecret = "************************";
>
> GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
> oauthParameters.setOAuthConsumerKey(consumerKey);
> oauthParameters.setOAuthConsumerSecret(consumerSecret);
> oauthParameters.setOAuthType(OAuthType.TWO_LEGGED_OAUTH);
>
> UserService userService = new UserService("test");
> userService.setOAuthCredentials(oauthParameters, new
> OAuthHmacSha1Signer());
>
> URL retrieveUrl = new 
> URL("https://apps-apis.google.com/a/feeds/"+domainName+"/user/2.0/";);
>
>
> UserFeed allUsers = new UserFeed();
> UserFeed currentPage;
> Link nextLink;
>
> do {
>
> currentPage = userService.getFeed(retrieveUrl, UserFeed.class);
> allUsers.getEntries().addAll(currentPage.getEntries());
> nextLink = currentPage.getLink(Link.Rel.NEXT, Link.Type.ATOM);
> if (nextLink != null) {
> retrieveUrl = new URL(nextLink.getHref());
> }
> } while (nextLink != null);
>
> Iterator<UserEntry> userEntryIterator = allUsers.getEntries().iterator();
> while (userEntryIterator.hasNext()) {
> UserEntry ge = userEntryIterator.next();
>
> Login login = ge.getLogin();
> System.out.println("name:"+login.getUserName());
> System.out.println("isAdmin:"+login.getAdmin());
> }
>
>
> <Response>
>
> Exception in thread "main" com.google.gdata.util.AuthenticationException:
> Unknown authorization header
> <HTML>
> <HEAD>
> <TITLE>Unknown authorization header</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Unknown authorization header</H1>
> <H2>Error 401</H2>
> </BODY>
> </HTML>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to