Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2951 by [email protected]: 9-characters passwords are considered not valid in SMPP 3.4, 5.0
http://code.google.com/p/mobicents/issues/detail?id=2951

What steps will reproduce the problem?
Call Session.bind() with 9-characters password, e.g. "123456789".

What is the expected output?
I expect to be logged in. According to secion 4.1.1, 4.1.3, 4.1.5 of "Short Message Peer to Peer Protocol Specification v3.4" maximum password length is 9 characters.

What do you see instead?
exception is thrown VersionException("Password too long").

What version of the product are you using?
<dependency>
  <groupId>org.mobicents.protocols.smpp</groupId>
  <artifactId>smpp-impl</artifactId>
  <version>1.1.1.FINAL</version>
</dependency>

On what operating system?
java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

uname -a
Linux antares 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux

Please provide any additional information below.

org.mobicents.protocols.smpp.version.AbstractSMPPVersion.validatePassword(String password) should be changed

Reply via email to