[keycloak-dev] Can I use this method in RepresentationToModel?

Stan Silvert ssilvert at redhat.com
Thu Oct 15 17:28:19 EDT 2015


Looks like import realm is using the same method so I guess it's OK.  It 
would still be interesting to know a bit about the effect of calling
session.userStorage().addUser() versus session.users().addUser(). We are 
just relying on the provider settings to sync federated users?

On 10/15/2015 5:07 PM, Stan Silvert wrote:
> I'm implementing import users from the admin console.  I'd like to use
> this method to create each user:
> https://github.com/keycloak/keycloak/blob/master/model/api/src/main/java/org/keycloak/models/utils/RepresentationToModel.java#L923
>
> But I'm not sure of the effect since this method uses
> session.userStorage().addUser() instead of session.users().addUser().
>
> Anyone care to enlighten me?
>
> Stan
>
> _______________________________________________
> 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