You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unit test org.owasp.esapi.UserTest throws InvalidAccountName Exception #11
What steps will reproduce the problem? 1. Brought up Project under Eclipse 3.3 using Java 1.6
2. Added "test" directory as a source directory.
3. Added VM argument
-Dorg.owasp.esapi.resources="/owasp/test/testresources"
4. The UserTest unit tests report an error:
org.owasp.esapi.errors.AuthenticationCredentialsException: Invalid
account name
at org.owasp.esapi.Authenticator.verifyAccountNameStrength
(Authenticator.java:653)
at org.owasp.esapi.User.(User.java:190)
at org.owasp.esapi.Authenticator.createUser
(Authenticator.java:237)
(the rest deleted)... What is the expected output? What do you see instead? Expected a "passed" or "failed" What version of the product are you using? On what operating system? Product Version: ESAPI v1.1.1 Complete JAR file
OS: Windows XP
Java: 1.6 update 5
Activity
meg23 commentedon Nov 13, 2014
From [email protected] on April 07, 2008 10:28:41
I changed the -D option to use an absolute path and that fixed this issue.
meg23 commentedon Nov 13, 2014
From planetlevel on August 30, 2008 17:24:30
The resource path mechanism has been updated to use the classpath, and then as a
backup, the -D environment variable is used.
Status: Fixed
CVE-2023-24998 and Security Bulletin #11