[keycloak-dev] Introduce lastModified property on UserModel

Stian Thorgersen sthorger at redhat.com
Mon Jul 16 14:37:21 EDT 2018


+1 to just storing as a user attribute

On Wed, 11 Jul 2018 at 11:43, Hynek Mlnarik <hmlnarik at redhat.com> wrote:

> This is a difficult question we tackled some time ago within the team,
> exactly with the same attribute. The User Storage SPI [1] would be affected
> by this change, and at the same time the SPI is fully supported and should
> be hence preserved as is. Hence we decided not to change it.
>
> Can you just store it as a user attribute?
>
> [1]
>
> https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.1/html/server_developer_guide/user-storage-spi#model_interfaces
>
> On Tue, Jul 3, 2018 at 9:01 AM Lösch, Sebastian <
> Sebastian.Loesch at governikus.de> wrote:
>
> > Hi developers,
> >
> > we are currently setting up a project using keycloak and have the need to
> > show the last mofication date of a user, similar to SCIM lastModified
> (see
> > https://tools.ietf.org/html/rfc7643#section-3.1).
> >
> > What do you think adding this as a new property on UserModel?
> >
> > Best regards,
> > Sebastian
> >
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev


More information about the keycloak-dev mailing list