12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using System.Collections.Generic;
- using System.Net;
- using SMBLibrary.Authentication.GSSAPI;
- namespace SMBLibrary
- {
- public class SecurityContext
- {
- private string m_userName;
- private string m_machineName;
- private IPEndPoint m_clientEndPoint;
- public GSSContext AuthenticationContext;
- public object AccessToken;
- public SecurityContext(string userName, string machineName, IPEndPoint clientEndPoint, GSSContext authenticationContext, object accessToken)
- {
- m_userName = userName;
- m_machineName = machineName;
- m_clientEndPoint = clientEndPoint;
- AuthenticationContext = authenticationContext;
- AccessToken = accessToken;
- }
- public string UserName
- {
- get
- {
- return m_userName;
- }
- }
- public string MachineName
- {
- get
- {
- return m_machineName;
- }
- }
- public IPEndPoint ClientEndPoint
- {
- get
- {
- return m_clientEndPoint;
- }
- }
- }
- }
|