Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
38767398
Commit
38767398
authored
Mar 04, 2021
by
michael.simon
Browse files
User properties optics
parent
a6cefa0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/webapp/user/index.xhtml
View file @
38767398
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment