-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding @PageAuthorize page state. #215
Closed
Closed
Commits on Dec 22, 2016
-
Adding @PageAuthorize page state.
This gives an opportunity for "gatekeeping" pages asynchronously. @PageAuthorize void onAuthorize(NavigationControl control) { myService.call(hasAccess -> { if(hasAccess) { // We have access, proceed with navigation. control.proceed(); } else { // Interrupt navigation and redirect. control.interrupt(); redirectPageTo.go(); } }).hasAccess(modelId, userId); }
Configuration menu - View commit details
-
Copy full SHA for 20d1372 - Browse repository at this point
Copy the full SHA 20d1372View commit details
Commits on Jan 11, 2017
-
New fix for distributed session use case (reverts change to QueueSess…
…ion id). Revert change to HttpSessionWrapper. Don't store SessionContainer in session anymore. Keep map of SessionContainers instead.
Configuration menu - View commit details
-
Copy full SHA for 0bcccf3 - Browse repository at this point
Copy the full SHA 0bcccf3View commit details -
ERRAI-979: Provide functionality for CSRF protection
CSRF protection on message bus servlets is enabled by property. Enabling the property creates a CSRF token on the first POST request to the server bus. The token can be written to an HTML page as a JavaScript variable with a filter, or else the client can acquire it from a challenge from the server (a 403 response containing the token as a header). There is also a filter that protects REST endpoints using the same token. When an Errai REST caller finds the token in a global JavaScript variable, it will set this as a header for all REST requests. Errai REST callers will also retry after a challenge from the server (403 + token in header).
Configuration menu - View commit details
-
Copy full SHA for 384dcfa - Browse repository at this point
Copy the full SHA 384dcfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd53ac - Browse repository at this point
Copy the full SHA 7dd53acView commit details -
Configuration menu - View commit details
-
Copy full SHA for dda3eea - Browse repository at this point
Copy the full SHA dda3eeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 839e3f0 - Browse repository at this point
Copy the full SHA 839e3f0View commit details -
Support destruction of @ApplicationScoped beans.
Previously a @PreDestroy would be called but @ApplicationScoped instance would remain in service.
Configuration menu - View commit details
-
Copy full SHA for 3128a29 - Browse repository at this point
Copy the full SHA 3128a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for db99e52 - Browse repository at this point
Copy the full SHA db99e52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8af2d - Browse repository at this point
Copy the full SHA 9a8af2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 864ef0c - Browse repository at this point
Copy the full SHA 864ef0cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.