Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-04-2008
DeepDiver's Avatar
DeepDiver DeepDiver is offline
Registered User
 
Name: Thomas Müller
Organization: Freelance Software Developer
Project: Project depend on Customers
 
Join Date: Nov 2004
Location: Munich, Bavaria, Germany
Posts: 100
Question Logon Credentials accessible by a session allocated server???

Hi,

is there any mechanism for a session-allocated server to get knowledge about
the allocating session.

Most interesting are the user credentials or the ssl cert.


THX Tom
__________________
Thomas Müller, Freelance Software Developer
My profil on www.freelancermap.de
Projects depend on customers
Reply With Quote
  #2 (permalink)  
Old 04-04-2008
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,541
Hi Thomas,

You can pass the session identifier by setting up a property in the server descriptor, for example:

Code:
  <property name="SessionId" value="${session.id}"/>
When the server is allocated by a session, IceGrid will substitute ${session.id} in the server configuration file with the distinguished name from the certificate used to establish the IceGrid session (or the user ID if the session wasn't created from a secure connection).

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 04-04-2008
DeepDiver's Avatar
DeepDiver DeepDiver is offline
Registered User
 
Name: Thomas Müller
Organization: Freelance Software Developer
Project: Project depend on Customers
 
Join Date: Nov 2004
Location: Munich, Bavaria, Germany
Posts: 100
Thumbs up

Hi Benoit,

thx alot!
I knew there must be a way to do this!
Ice is so smart! ;-)

THX again,

Tom
__________________
Thomas Müller, Freelance Software Developer
My profil on www.freelancermap.de
Projects depend on customers
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
Glacier2 will block all session with callback,when a session hung. netfish Help Center 6 03-14-2008 11:38 PM
Session allocation mwilson Comments 3 08-27-2007 05:09 AM
Session dashie Help Center 3 02-19-2006 10:40 PM
How to use session? Dmitriy Help Center 2 06-18-2004 10:22 AM
Documentation re: stack-allocated servants greg_hall Comments 5 05-08-2003 10:44 PM


All times are GMT -4. The time now is 09:24 AM.


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.