Apache.Shiro.Session.Management.SimpleSessionFactory.CreateSession C# (CSharp) Method

CreateSession() public method

public CreateSession ( object>.IDictionary data ) : ISession
data object>.IDictionary
return ISession
        public ISession CreateSession(IDictionary<object, object> data)
        {
            if (data != null && data.ContainsKey(SessionFactoryKey.Host))
            {
                return CreateSession((string) data[SessionFactoryKey.Host]);
            }
            return new SimpleSession();
        }

Same methods

SimpleSessionFactory::CreateSession ( string host ) : ISession
SimpleSessionFactory