View Single Post
  #4 (permalink)  
Old 01-10-2006
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,923
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