Example #1
0
        public void GetClientIPAddressMaxLength()
        {
            Int32 maxLength = 0;

            maxLength = WebClientToken.GetClientIPAddressMaxLength();
            Assert.IsTrue(0 < maxLength);
        }
Example #2
0
        public void CheckDataSessionIdFormatError()
        {
            String token;

            token = TEST_USER_NAME + Settings.Default.ClientTokenDelimitor +
                    ApplicationIdentifier + Settings.Default.ClientTokenDelimitor +
                    "Hej" + Settings.Default.ClientTokenDelimitor +
                    GetString(WebClientToken.GetClientIPAddressMaxLength()) + Settings.Default.ClientTokenDelimitor +
                    WebServiceData.WebServiceManager.Name;
            GetWebClientToken(token).CheckData();
        }