Clone
 

jonathan fuerth <jfuerth@gmail.com> in Errai

Initializing marshalling from UserCookieStorageHandler now

This should help apps that @Inject User into singletons and application-scoped beans.

Initializing marshalling from UserCookieStorageHandler now

This should help apps that @Inject User into singletons and application-scoped beans.

Corrected missing case: @Bound can apply to Element as well as Widget

Corrected missing case: @Bound can apply to Element as well as Widget

Added cause for rethrown classloading exceptions so they can be diagnosed

Added cause for rethrown classloading exceptions so they can be diagnosed

Added cause for rethrown classloading exceptions so they can be diagnosed

Fixed ERRAI-752: User cookies sent from a Jetty server demarshall as String instead of UserImpl

Fixed ERRAI-747: IOC container reports unresolvable bean with injection cycle involving interfaces on both ends

Fixed warning about double-declaration of imported EE6 BOM

Fixed misleading statements in Marshalling docs and added tests to verify the new documented behaviour

Fix for mockito @InjectMocks confusion that causes all tests to fail under JDK7.

Further enhancements to the form-based auth scheme

These changes add support for proper redirect behaviour on login and access denied to the host page,

including the passing of extra request parameters which is especially important when attempting to

log in in GWT Dev Mode.

This commit also includes enhancements that we've contributed to PicketLink. These enhancements

should appear in PicketLink 6.0.0.CR2, due out on April 25. We can remove the types in the 'tmp'

package once that release is out.

Increased timeout to help avoid failures on slow machines in the build farm

Added missing dependency from Security to Jaxrs

Renamed cookie preference in ErraiApp.properties to reflect that it is now a cookie

Added test to ensure user cookie is cleared immediately upon logout

Fixed inter-test dependency problem that was causing sporadic failure

Can't initialize marshalling framework in a client/server agnostic way.

Pulled out user cookie encoding so it can be used on the server in UberFire's form-based login process

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

Added the consructors required by UberFire (which now uses these exceptions instead of its old ones)

Added a test to ensure UserImpl is properly @Portable

Switched to depend on mockito-core, which is recommended over mockito-all for Maven users

Removing non-functional remember me checkbox

Added tests for picketlink integration; fixed attribute mapping bug

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

Imported UberFire's Role and Subject types; standardized Errai security on these

  1. … 11 more files in changeset.
Renamed a few things in preparation for merging in concepts from UberFire

    • -0
    • +13
    /errai-demos/errai-security-demo/pom.xml
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).

  1. … 78 more files in changeset.