Commit 38767398 authored by michael.simon's avatar michael.simon
Browse files

User properties optics

parent a6cefa0c
......@@ -103,7 +103,26 @@
<p:tab id="tab2" title="#{messages.shibboleth}" rendered="#{userPropertiesBean.user.class.simpleName eq 'SamlUserEntity'}">
<div class="panel">#{messages.my_data_from_saml} #{of:formatDate(userPropertiesBean.user.lastUpdate, 'dd.MM.yyyy HH:mm')}</div>
<p:dataTable id="attrData" style="min-width: 500px;"
<p:dataTable style="min-width: 500px;"
value="#{userPropertiesBean.user.attributeStore.keySet().toArray()}" var="key">
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.name}" />
</f:facet>
<h:outputText value="#{key}" style="font-size: 80%;" />
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.value}" />
</f:facet>
<h:outputText value="#{userPropertiesBean.user.attributeStore.get(key)}" />
</p:column>
</p:dataTable>
</p:tab>
<p:tab id="tab2_1" title="#{messages.oidc}" rendered="#{userPropertiesBean.user.class.simpleName eq 'OidcUserEntity'}">
<div class="panel">#{messages.my_data_from_oidc} #{of:formatDate(userPropertiesBean.user.lastUpdate, 'dd.MM.yyyy HH:mm')}</div>
<p:dataTable style="min-width: 500px;"
value="#{userPropertiesBean.user.attributeStore.keySet().toArray()}" var="key">
<p:column>
<f:facet name="header">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment