Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge parts of Uberfire Security into Errai. Details below.

* Imported UberFire's Role and Subject (now User) types; standardized Errai security on these

* Centralized the role membership checking logic onto User; added unit tests for it

* Refactor ActiveUserCache into SPI.

* Create ANONYMOUS user constant to use instead of null when no user logged in.

* Switch to cookie storage of user info so that we can unify with UberFire's form based login

* Use cookies instead of local storage; add CookieEncoder class into shared package.

* Make todolist demo user an errai security User.

* Delete Identity class (it's redundant; Caller<AuthenticationService> can be used).

    • -6
    • +6
    ./intercept/SignupServiceInterceptor.java
  1. … 87 more files in changeset.
Security refactoring of SecurityContext:

Refactor SecurityContext to not be child of ActiveUserCache. Remove

static instance from SecurityContextImpl and create static holder class

that injects instance.

    • -1
    • +1
    ./intercept/SignupServiceInterceptor.java
  1. … 11 more files in changeset.
Massive refactoring of SecurityUtil and ActiveUserProvider. Most logic is now in SecurityContext (non-static).

    • -2
    • +9
    ./intercept/SignupServiceInterceptor.java
  1. … 25 more files in changeset.
Rename @RestrictAccess to @RestrictedAccess (to make tense consistent) and update documentation and rename methods/variable names.

  1. … 24 more files in changeset.
Remove redundancy in security annotation api, and fix names in security User.

Remove the @RequireAuthentication and rename @RequireRoles to

@RestrictAccess. @RestrictAccess has no roles by default, which has an

identical effect to what @RequireAuthentication did previously.

  1. … 42 more files in changeset.
Refactor security classes/interfaces into more specific packages.

  1. … 71 more files in changeset.
Refactor cache-updating logic into single set of static methods.

    • -2
    • +2
    ./intercept/SignupServiceInterceptor.java
  1. … 11 more files in changeset.
Fix login after initial signup in jpa-todo-list-demo.

    • -0
    • +26
    ./intercept/SignupServiceInterceptor.java
  1. … 3 more files in changeset.
Use picketlink user first name as short name for Errai Security User.

  1. … 1 more file in changeset.
Fix compile error from change to Identity in errai security.

Fix lots of warnings in todo-list and security demos, and delete unnecessary security code.

  1. … 23 more files in changeset.
Upgrade picketlink to 2.5.3.Final and update security and todo-list demos.

  1. … 7 more files in changeset.
Update demos using errai-security.

  1. … 4 more files in changeset.
Fix client/server code separation for errai-security.

Move LoginPage and SecurityError to errai-navigation.

Fix SecurityRoleInterceptors so that the server class is not inheriting

form a client class.

  1. … 16 more files in changeset.
now fields get updated before login is called

fixed login redirect

when the error is filled we need to show it

small style fix

made from css class more reusable

oops forgot to change this back to userId

attached front-end with new shared lists

    • -0
    • +38
    ./SharedListWidget.java
user is now a persistable entity again and linked with ShareList object so a user can share his list with others

  1. … 7 more files in changeset.
initial framework to share lists

  1. … 4 more files in changeset.
optimized margin attributes

fixed sizing of mobile version

let's not go for that unstyled look

added friends list page design

fixed text alignment

added example implementation of shadow services

    • -0
    • +58
    ./shadow/SignupServiceShadow.java
    • -0
    • +46
    ./shadow/TempUser.java
added signup shadow service

    • -0
    • +26
    ./SignupServiceShadow.java