Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2006
shoulder 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!
Reply With Quote
  #2 (permalink)  
Old 01-10-2006
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
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.
Reply With Quote
  #3 (permalink)  
Old 01-10-2006
shoulder shoulder is offline
Registered User
 
 
Join Date: May 2005
Posts: 2
I am ready now.
__________________
xiaobin lee
http://www.standards.org.cn
Reply With Quote
  #4 (permalink)  
Old 01-10-2006
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
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.

Quote:
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.
Reply With Quote
  #5 (permalink)  
Old 07-03-2008
joshmoore 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: 59
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.
Reply With Quote
  #6 (permalink)  
Old 07-03-2008
joshmoore 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: 59
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Glacier2.Client.SleepTime rc_hz Comments 6 11-16-2006 07:21 PM
Question about Glacier2 davidcr1983 Help Center 2 08-10-2006 05:13 PM
Session Management with Glacier2 question 123w456t Help Center 1 03-29-2006 06:46 PM
Glacier2 routedproxy question xdm Help Center 1 01-05-2006 12:47 PM
Question about Glacier2! JaneShang Help Center 2 06-16-2005 03:47 AM


All times are GMT -4. The time now is 10:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.