Archived

This forum has been archived. Please start a new discussion on GitHub.

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

Comments

  • benoit
    benoit Rennes, France
    Hi Thomas,

    You can pass the session identifier by setting up a property in the server descriptor, for example:
      <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.
  • Hi Benoit,

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

    THX again,

    Tom