protected virtual void AssertAuthcCheckPossible() { if (!HasPrincipals()) { throw new UnauthenticatedException( string.Format(Properties.Resources.AuthcCheckNotPossibleMessage, typeof(ISubject).Name, typeof(IAuthenticationInfo).Name)); } }