Author | Message |
---|---|
hgadhia
Posts: 52
|
Posted 17:40 Jul 29, 2015 |
Hi, Grading of the homework is a very time consuming process. Following few simple rules when submitting your work makes it easier for us to grade. Please ensure that you follow the conventions as specified in the assignment: Make sure to test the following before submitting your work: Do not forget to commit your code to SVN and create tag cs520-hw4. Note: Last edited by hgadhia at
19:42 Jul 30, 2015.
|
nextmatrixman
Posts: 57
|
Posted 18:20 Jul 29, 2015 |
Quick question: the ZIP package filename naturally generated from the Maven build is "csjobs-bin.zip", can we just stick to this one? Or is there a way to change the build setting to "csjobs-src.zip". Also, it might be a good idea to pin this post to the top since it might get flushed down quickly by other posts. |
bseemscs
Posts: 26
|
Posted 01:33 Jul 30, 2015 |
i.e. for e.g. ? WUT? |
msargent
Posts: 519
|
Posted 20:37 Jul 30, 2015 |
Do applications, after they are submitted, need to be editable, or only viewable? |
hgadhia
Posts: 52
|
Posted 21:09 Jul 30, 2015 |
An applicant cannot edit the application after they are submitted. So they should be only viewable. |
hgadhia
Posts: 52
|
Posted 21:10 Jul 30, 2015 |
Thanks for pointing the mistake. I corrected it :) |
hgadhia
Posts: 52
|
Posted 21:13 Jul 30, 2015 |
You have to figure it out. But if you can't, you can just rename the file and upload it. That's ok. And the post is pinned to top as per your request. :) Last edited by hgadhia at
21:15 Jul 30, 2015.
|
msargent
Posts: 519
|
Posted 21:42 Jul 30, 2015 |
One more last minute question (thankyou for being available at this time); the assignment details said validation only has to be performed during registration. Does this mean we don't have to check passwords or make sure the user exists during login? |
hgadhia
Posts: 52
|
Posted 22:06 Jul 30, 2015 |
Input validation and authentication are not same, for authentication(login means authentication) username and password should match with the one in database. |
lishenyu
Posts: 103
|
Posted 21:13 Aug 13, 2015 |
Hi harsh , I use User authenticatedUser=(User) SecurityContextHolder.getContext() but it gave me an error String can't be cast to User ! Please help ! |
cysun
Posts: 2935
|
Posted 23:41 Aug 13, 2015 |
Read slide #29 of Declarative Security (II). |
lishenyu
Posts: 103
|
Posted 23:48 Aug 13, 2015 |
Yes I did it in that slide : 1.my User implements UserDetails 2. I also have UserDetailsServiceImpl that implements UserDetailsService (I copied it from CSNS and changed a bit:) 3.I have removed <jdbc-user-service> and place a : user-service-ref="userService" just like the csns did . but it still said no bean of UserService |
cysun
Posts: 2935
|
Posted 23:49 Aug 13, 2015 |
See my answer in the other thread. |