Menu

#2 Fix FileProfileStore NullPointer Excepti

v1.0
open
nobody
5
2002-10-16
2002-10-16
No

If you attenpt to login with an unknown username and
password is not null a NullPointer exception is
generated. The following patch fixes this by
generating an appropriate exception.

Index:
java/com/mentumgroup/jeenius/profilestore/file/FileProfileStore.java
===================================================================
RCS file:
/cvsroot/jeenius/jeenius/src/java/com/mentumgroup/jeenius/profilestore/file/FileProfileStore.java,v
retrieving revision 1.2
diff -r1.2 FileProfileStore.java
1253a1254,1257
> if (fileUser == null) {
> throw new UserValidationException(49,"Invalid
User");
> }
>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB