Archived
This forum has been archived. Please start a new discussion on GitHub.
Question about Glacier2
shoulder
in Help Center
Hello.
I have two questions about Glacier2.
1. How to get remote client address in Glacier2::PermissionsVerifier::checkPermissions(const 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!:)
I have two questions about Glacier2.
1. How to get remote client address in Glacier2::PermissionsVerifier::checkPermissions(const 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!:)
0
Comments
-
Hello,
Welcome to our forums! Before we can answer your question, please provide your signature as described in this post
Cheers,
Bernard0 -
Hi,shoulder wrote:Hello.
1. How to get remote client address in Glacier2::PermissionsVerifier::checkPermissions(const 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.0 -
I had been looking for the following post to repy to, but found it a bit too late:
http://www.zeroc.com/forums/help-center/2072-problem-passing-context-map-createsession.html
Cheers,
~Josh.0

