Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-2007, 06:32 AM
Intermediate Member
 
Posts: 18
Default quick question :- is zimbra token=encoded()

quick question :-

is zimbra token=encoded(account id,admin account id,expire time,isAdmin,isDomainAdmin)

Ur reply would really help.
Thanks
Reply With Quote
  #2 (permalink)  
Old 10-29-2007, 06:48 AM
raj raj is offline
Moderator
 
Posts: 768
Default

If you are asking can you generate it on your own and send command to server then answer is.. NO
Token has to be generated on the server and returned back to your application to be used again.

Please look into the SOAP API to get the token

Raj
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 07:12 AM
Intermediate Member
 
Posts: 18
Default token

no i will call my external API whenever zimbra token checks for validity ie i think thru isExpire() method and return back thru my external API to tell that token created thru my API is valid and so Zimbra token is also valid dont check it and continue with zimbra.
What do u say thats what i am planning.

Last edited by arpitamunjal; 10-29-2007 at 07:14 AM..
Reply With Quote
  #4 (permalink)  
Old 10-29-2007, 07:21 AM
raj raj is offline
Moderator
 
Posts: 768
Default

I don’t know your application architecture and i assume you talking bout ADMIN TOKEN
Generally Admin token is valid for 12-24 hours based on you settings in Admin GUI and unless your application needs to retain the token more than 24 hours you really don’t need to worry about it expiring in short while.

Raj
Reply With Quote
  #5 (permalink)  
Old 10-29-2007, 08:16 AM
Intermediate Member
 
Posts: 18
Default token

No,
I will explain ,i have my own application for authentiaction and it returns me a token and has its own expiry time,u supply yr credentials and it tell yes authenticated.I want to use this and where zimbra tries to compare its token to check for validation i call my API's method which will tell token is valid ,it will not be zimbra token comparison but the token that i get with my Application API.
So i dont know when zimbra token is checked for validation ,it should go to my API calls and would return zimbra token valid.

Ur help would be appreciated
Thnaks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.