Application Security Issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Application Security Issue

Nhlanhla Xolani Radebe
Hello Stripes Users,

I recently inherited some work to migrate a java web application from a physical CentOS server to an Ubuntu VPS, the application is running on the Stripes framework, hibernate, tomcat 6, java 6 and mysql server 5.2. The application is tomcat-centric meaning the whole ROOT folder in webapps contains pages for that specific app. 

So my attempt to reconstruct the app on tomcat 7, java 7 and mysql 5.5 has failed.

What steps we took:
1. I rebuilt everything on eclipse IDE and got everything working without errors
2. I pointed the persistence.xml to the correct database
3. I know it works properly because when running it, I enter incorrect login data and it tells you of the invalid details

Where I get stuck.
4. Upon entering the correct data, it shows there is a security error that says the user is unauthorised.



Please help, 

Thanks in advance




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Stripes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-users

error.png (39K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Application Security Issue

Nestor Hernandez
This a very specific problem that doesn't necessarily have to do with Stripes. I suggest that you check the logs of Tomcat and try to debug the application.
I don't think that the problem has something to do with the the migration to Tomcat 7 and Java 7.(I migrate to Java 7 the to Java 8 with no code changes) Thanks God we're not using PHP and backwards compatibility in most cases is assured.



2015-03-05 6:28 GMT-05:00 Nhlanhla Xolani Radebe <[hidden email]>:
Hello Stripes Users,

I recently inherited some work to migrate a java web application from a physical CentOS server to an Ubuntu VPS, the application is running on the Stripes framework, hibernate, tomcat 6, java 6 and mysql server 5.2. The application is tomcat-centric meaning the whole ROOT folder in webapps contains pages for that specific app. 

So my attempt to reconstruct the app on tomcat 7, java 7 and mysql 5.5 has failed.

What steps we took:
1. I rebuilt everything on eclipse IDE and got everything working without errors
2. I pointed the persistence.xml to the correct database
3. I know it works properly because when running it, I enter incorrect login data and it tells you of the invalid details

Where I get stuck.
4. Upon entering the correct data, it shows there is a security error that says the user is unauthorised.



Please help, 

Thanks in advance




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Stripes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-users



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Stripes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-users