Results 1 to 6 of 6

Thread: Question about Glacier2

  1. #1
    shoulder is offline Registered User
    Join Date
    May 2005
    Posts
    2

    Question about Glacier2

    Hello.

    I have two questions about Glacier2.

    1. How to get remote client address in Glacier2::PermissionsVerifier::checkPermissions(co nst string& usrId, const string& password, string& reason, const Current& current) ?

    2. How to farword context after Glacier2::PermissionsVerifier::checkPermissions to Glacier2::SessionManager::create(const string& userId, const Ice::Current& current) ?

    Thank you!

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,270
    Hello,

    Welcome to our forums! Before we can answer your question, please provide your signature as described in this post

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    shoulder is offline Registered User
    Join Date
    May 2005
    Posts
    2
    I am ready now.

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,140
    Hi,

    Quote Originally Posted by shoulder
    Hello.
    1. How to get remote client address in Glacier2::PermissionsVerifier::checkPermissions(co nst string& usrId, const string& password, string& reason, const Current& current) ?
    Sorry, it's not possible to get the client remote address from this method.

    2. How to farword context after Glacier2::PermissionsVerifier::checkPermissions to Glacier2::SessionManager::create(const string& userId, const Ice::Current& current) ?
    I'm afraid, Glacier2 currently doesn't forward the context to the session manager create method. I can't think of any reasons why it shouldn't though, we'll discuss this internally and eventually change this. Thanks for bringing this to our attention!

    Cheers,
    Benoit.

  5. #5
    joshmoore is offline Registered User
    Name: Josh Moore
    Organization: Glencoe Software, Inc.
    Project: OMERO, http://trac.openmicroscopy.org.uk/omero
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    110
    Was there any discussion of whether the context could/should also be passed to session.destroy() from router.destroySession()?

    I'm trying to correlate identification information from the client which is passed on createSession() with the destroySession() call.

  6. #6
    joshmoore is offline Registered User
    Name: Josh Moore
    Organization: Glencoe Software, Inc.
    Project: OMERO, http://trac.openmicroscopy.org.uk/omero
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    110
    I had been looking for the following post to repy to, but found it a bit too late:

    Problem passing context map with createSession()

    Cheers,
    ~Josh.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IceStorm Glacier2 Question
    By bigtim in forum Help Center
    Replies: 10
    Last Post: 11-05-2007, 04:16 PM
  2. Question about Glacier2
    By davidcr1983 in forum Help Center
    Replies: 2
    Last Post: 08-10-2006, 05:13 PM
  3. Glacier2 routedproxy question
    By xdm in forum Help Center
    Replies: 1
    Last Post: 01-05-2006, 12:47 PM
  4. IcePack Query and Glacier2 question
    By aerowyn in forum Help Center
    Replies: 6
    Last Post: 10-16-2005, 03:15 AM
  5. Question about Glacier2!
    By JaneShang in forum Help Center
    Replies: 2
    Last Post: 06-16-2005, 03:47 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
  •