[prev in list] [next in list] [prev in thread] [next in thread]
List: keycloak-dev
Subject: [keycloak-dev] Read-only attributes for UserFederation providers
From: mposolda () redhat ! com (Marek Posolda)
Date: 2016-07-22 16:57:45
Message-ID: 57925089.7050606 () redhat ! com
[Download RAW message or body]
+1
Marek
On 22/07/16 11:51, Bruno Oliveira wrote:
> Good morning,
>
> I was working on this issue[1] this week and thinking about how
> to tell our interface that the federation provider has read-only
> attributes.
>
> For example, today for the LDAPFederationProvider[2], we
> provide server side validations telling our user that they cannot edit
> those attributes. But still, input fields are editable and user
> will only know after hit the submit button.
>
> Not sure if makes sense, but very maybe if we provide a method
> at UserFederation like:
>
> boolean isReadOnly(); //defaults to false or override it and return true
>
> And later expose it to the interface, we could bring the
> text field properties set to read-only.
>
> Does it make any sense?
>
>
> [1] - https://issues.jboss.org/browse/KEYCLOAK-3060
> [2] - https://github.com/keycloak/keycloak/blob/c7a8742a368bd8d76301145b08bb1e4af1b0 \
> 10e9/federation/ldap/src/main/java/org/keycloak/federation/ldap/ReadonlyLDAPUserModelDelegate.java#L38-L64
>
> --
>
> abstractj
> PGP: 0x84DC9914
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic