Apache.Shiro.Subject.DelegatingSubject.DecorateSession C# (CSharp) Method

DecorateSession() protected method

protected DecorateSession ( object sessionId ) : ISession
sessionId object
return ISession
        protected virtual ISession DecorateSession(object sessionId)
        {
            if (sessionId == null)
            {
                throw new ArgumentNullException("sessionId");
            }

            return new StoppingAwareProxiedSession(
                new DelegatingSession(SecurityManager, sessionId), this);
        }