JPP 6.1 will use 1.15.x (ER1 should be available on June 3rd and based
on GateIn 3.6 Beta 2)
("Disabled users" has been "deferred from the requirements)
Thomas
On 05/23/2013 12:52 PM, Nicolas Filotto wrote:
Hi,
Just to let you know that the part of the spec
https://community.jboss.org/wiki/DisabledUser that affects eXo Core has
been fully implemented in this branch
https://github.com/exodev/core/tree/feature/COR-293. The related JIRA
issues are
https://jira.exoplatform.org/browse/COR-293 and
https://jira.exoplatform.org/browse/JCR-2175. It will be available in
JCR 1.16 that will be used in PLF 4.1/JPP 6.1
A new method has been added in the interface UserHandler to
enable/disable a user which is setEnabled(String userName, boolean
enabled, boolean broadcast), in case it cannot be supported by the
implementation, an UnsupportedOperationException can be thrown.
For each find methods in the interface UserHandler, we have the
corresponding method with a new parameter which is enabledOnly, the old
methods call the new ones with enabledOnly set to true.
Some old methods such as saveUser and authenticate can now throw a new
exception called DisabledUserException in case we try to interact with a
disabled user account.
The TCK has been reviewed to cover this new feature, I also added more
unit tests to make sure that all implementations behave the same way.
Finally, to allow the UI to be able to know which error occurred during
the authentication, I added a new method in the interface Authenticator
which is getLastExceptionOnValidateUser()
In this branch I also upgraded our internal implementations (hibernate
and ldap) and tested them successfully on Oracle 11G R2, MySQL 5.5,
PGSQL 9.1, DB2 9.7.4, MS SQL 2008 R2, H2, HSQLDB, Sybase 15.7 for
hibernate and Active Directory 2012, Oracle Directory Server 11g, open
LDAP 2.4, openDS 1.2, 2.0 and 2.2.1 and ApacheDS 1.5.7 for ldap
I also upgraded our implementation based on eXo JCR in this branch
https://github.com/exodev/jcr-services/tree/feature/JCR-2175.
I need now to write some doc about this new feature.
@IDM Team you should have everything you need to upgrade IDM on your side.
@Gatein Team: you should have everything you need to update the UI
consequently.
If you have any questions and/or remarks, feel free to share.
BR,
--
Nicolas Filotto
Project Leader JCR
eXo Platform SAS
nfilotto(a)exoplatform.com <mailto:nfilotto@exoplatform.com>
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev