Results 1 to 8 of 8

Thread: preauth enquiry

  1. #1
    arpitamunjal is offline Intermediate Member
    Join Date
    Oct 2007
    Posts
    18
    Rep Power
    7

    Default [SOLVED] Authentication externally

    Hi,
    i am new to zimbra ,want to find out how zimbra does authentication,i want to use my own auth method and put it back to zimbra
    Any API where the auth is done
    Can anyone help

  2. #2
    JoshuaPrismon is online now Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by arpitamunjal View Post
    Hi,
    i am new to zimbra ,want to find out how zimbra does authentication,i want to use my own auth method and put it back to zimbra
    Any API where the auth is done
    Can anyone help
    There is a new API for authentication in Zimbra. Check it out in the docs/ directory of ZimbraServer. Youcan get the tarball from the download page.

  3. #3
    arpitamunjal is offline Intermediate Member
    Join Date
    Oct 2007
    Posts
    18
    Rep Power
    7

    Default Authentication externally

    Can i login in my application which automatically logins to zimbra also.

    I do the authentication thru some other open source s/w and return the token or after validation i tell Zimbra to bypass it for authentication and than continue using Zimbra.
    Do i need auth token of zimbra or i can supply from my application to the places(?) wher zimbra is using this auth token.
    I am not able to find the starting point where zimbra uses auth token.
    If i replace it with my auth token will zimbra work?????
    Key is which API to useto bypass zimbra only for authentication not using its LDAP server and using some other open source for auth but after auth its only zimbra.

    Do i need to check SOAP API's
    Last edited by arpitamunjal; 10-16-2007 at 01:49 PM.

  4. #4
    JoshuaPrismon is online now Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by arpitamunjal View Post
    Can i login in my application which automatically logins to zimbra also.

    I do the authentication thru some other open source s/w and return the token or after validation i tell Zimbra to bypass it for authentication and than continue using Zimbra.
    Do i need auth token of zimbra or i can supply from my application to the places(?) wher zimbra is using this auth token.
    I am not able to find the starting point where zimbra uses auth token.
    If i replace it with my auth token will zimbra work?????
    Key is which API to useto bypass zimbra only for authentication not using its LDAP server and using some other open source for auth but after auth its only zimbra.

    Do i need to check SOAP API's
    Search for Preauth.

  5. #5
    arpitamunjal is offline Intermediate Member
    Join Date
    Oct 2007
    Posts
    18
    Rep Power
    7

    Default preauth enquiry

    Hi,
    Sorry but i coulnt get what u want to say properly.
    Steps on what i want and plan to do:-
    1)login in my client and do auth thru some other open souce API's and retrieve the token.
    2)redirect it to zimbra.
    3)my open souce API's for auth should each time see whether the token is valid.

    Query
    ? i want to know the method where zimbra does the validation of token so that i can replace it with my method and call that open source API's each time to check whether toke is valid or not.
    ?Do i need to have zimbra token also to use for all zimbra applications,can i override it with mine.
    ?ALSO DOES DIRECTLOGIN AS SPECIFIED IN PREAUTH.TXT DOES AUTHENTICATION THRU MY API's or i have to use zimbra SOAP API's.Actually i dont have an idea of SOAP.
    Please help me sought my problem and can u be a little more specific.
    Thanks

  6. #6
    arpitamunjal is offline Intermediate Member
    Join Date
    Oct 2007
    Posts
    18
    Rep Power
    7

    Default quick question:- autologin to zimbra

    Is autologin to Zimbra from our application without passing the password( as mentioned in preauth.txt) same as authentication.

  7. #7
    JoshuaPrismon is online now Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by arpitamunjal View Post
    Hi,
    Sorry but i coulnt get what u want to say properly.
    Steps on what i want and plan to do:-
    1)login in my client and do auth thru some other open souce API's and retrieve the token.
    2)redirect it to zimbra.
    3)my open souce API's for auth should each time see whether the token is valid.

    Query
    ? i want to know the method where zimbra does the validation of token so that i can replace it with my method and call that open source API's each time to check whether toke is valid or not.
    ?Do i need to have zimbra token also to use for all zimbra applications,can i override it with mine.
    ?ALSO DOES DIRECTLOGIN AS SPECIFIED IN PREAUTH.TXT DOES AUTHENTICATION THRU MY API's or i have to use zimbra SOAP API's.Actually i dont have an idea of SOAP.
    Please help me sought my problem and can u be a little more specific.
    Thanks
    Please do not make multiple posts with the same question. I have merged the threads together.

  8. #8
    JoshuaPrismon is online now Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by arpitamunjal View Post
    Hi,
    Sorry but i coulnt get what u want to say properly.
    Steps on what i want and plan to do:-
    1)login in my client and do auth thru some other open souce API's and retrieve the token.
    2)redirect it to zimbra.
    3)my open souce API's for auth should each time see whether the token is valid.

    Query
    ? i want to know the method where zimbra does the validation of token so that i can replace it with my method and call that open source API's each time to check whether toke is valid or not.
    ?Do i need to have zimbra token also to use for all zimbra applications,can i override it with mine.
    ?ALSO DOES DIRECTLOGIN AS SPECIFIED IN PREAUTH.TXT DOES AUTHENTICATION THRU MY API's or i have to use zimbra SOAP API's.Actually i dont have an idea of SOAP.
    Please help me sought my problem and can u be a little more specific.
    Thanks
    1) Yes. The Pre-Auth process allows this. In short you generate a hash and pass it to the zimbra server.
    2) Yes. The Authorization code is passed to the server via the URL or POST.
    3) How you manage your own token is up to you.

    You could replace this mechanism, but it really is simply. Better to work with it I suspect. You don't need to work with SOAP at all.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Preauth into simple client
    By Jakob Simon-Gaarde in forum Developers
    Replies: 1
    Last Post: 04-15-2008, 12:09 PM
  2. How can i ise preauth on Liferay
    By majodo in forum Developers
    Replies: 3
    Last Post: 02-05-2008, 06:51 AM
  3. preauth: bug or feature ?
    By toto in forum Developers
    Replies: 2
    Last Post: 07-17-2007, 11:11 PM
  4. 4.5RC1 and preauth
    By deepblue in forum Administrators
    Replies: 2
    Last Post: 12-21-2006, 10:16 AM
  5. Bug with preauth mechanism and SOAP headers?
    By Coilcore in forum Developers
    Replies: 3
    Last Post: 07-20-2006, 10:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •