[keycloak-user] UserRepresentation enabled Boolean

Matthew Broadhead matthew.broadhead at nbmlaw.co.uk
Tue Nov 14 07:05:51 EST 2017


org.keycloak.representations.idm.UserRepresentation 
(https://github.com/keycloak/keycloak/blob/master/core/src/main/java/org/keycloak/representations/idm/UserRepresentation.java) 
has a property enabled which is of type java.lang.Boolean. Technically 
this should have getters and setters of getEnabled and setEnabled.  A 
type boolean would have isEnabled and setEnabled. This stops it from 
working with JSF 
(https://stackoverflow.com/questions/14400222/boolean-properties-starting-with-is-does-not-work) 


This also applies to totp and emailVerified in the same class.


More information about the keycloak-user mailing list