linster / plastregsystem Goto Github PK
View Code? Open in Web Editor NEWPlast Online Registration System
License: Mozilla Public License 2.0
Plast Online Registration System
License: Mozilla Public License 2.0
Currently AuthenticationService handles the RoleHierarchy delegation. This needs to be fixed to use the roles definied in ApplicationContext.xml (instead of just hardcoding).
See PlastRegSystemUI.java
If you log out of the system, then type in the URL for a protected page again, the page will display. If you create a new tab (or a new browser session), page protection works properly. A user who was never authenticated still cannot view a protected page, however. For some reason, if I clear the THREAD_LOCAL Authentication object in the Logout Handler, the ViewChangeSecurityChecker doesn't work.
Reproduction:
Open Incognito Mode. Login, select the Online Information View. Copy the URL to the view.
Log out. Paste the URL into the address bar. Notice how the view is still displayed. (this tab once had an authenticated user).
Open another incognito tab. Paste the URL in. You will be redirected to the Login page.
Cheeky fix:
Instruct the user Ualberta-style to close absolutely everything after logging out. Maybe throw their computer out of a window.
Severity:
Medium. It would be an issue on public computers where people start messing around with URLs in tabs/sessions that once had an authenticated user.
However, no user who has never been authenticated could just get in, so it's not a huge issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.