Changed the way in which authentication type is shown
FEA: ItEr74S09LdapAuhentication
This commit is contained in:
parent
c258e09708
commit
9bcabf9e0d
2 changed files with 8 additions and 2 deletions
|
|
@ -286,4 +286,10 @@ public class User extends BaseEntity implements IHumanIdentifiable{
|
|||
return loginName;
|
||||
}
|
||||
|
||||
public String getAuthenticationMethod() {
|
||||
if (isLibrePlanUser())
|
||||
return "LibrePlan";
|
||||
return "LDAP";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<newdatasortablecolumn label="${i18n:_('User login name')}" sort="auto(loginName)" />
|
||||
<newdatasortablecolumn label="${i18n:_('Disabled')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('Administrator')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('LibrePlan user')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('Authentication type')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('Actions')}" />
|
||||
</columns>
|
||||
<rows>
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<label value="@{user.loginName}" />
|
||||
<checkbox checked="@{user.disabled}" disabled="true" />
|
||||
<checkbox checked="@{user.administrator}" disabled="true" />
|
||||
<checkbox checked="@{user.librePlanUser}" disabled="true" />
|
||||
<label value="@{user.authenticationMethod}" />
|
||||
<hbox>
|
||||
<button sclass="icono" image="/common/img/ico_editar1.png"
|
||||
hoverImage="/common/img/ico_editar.png"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue