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.

Reply via email to