Skip to content

Commit

Permalink
Merge pull request #4086 from Coduz/chng-showMoreLockoutDataInCredent…
Browse files Browse the repository at this point in the history
…ialGrid

💄 [Console GWT] Added lockout policy fields in Credential grid
  • Loading branch information
Coduz authored Jul 22, 2024
2 parents 6659768 + 0a2f5ca commit 8f1fd67
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public String render(GwtCredential gwtCredential, String property, ColumnData co
columnConfig.setHidden(true);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("credentialType", CREDENTIAL_MSGS.gridCredentialColumnHeaderCredentialType(), 400);
columnConfig = new ColumnConfig("credentialType", CREDENTIAL_MSGS.gridCredentialColumnHeaderCredentialType(), 100);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("expirationDateFormatted", CREDENTIAL_MSGS.gridCredentialColumnHeaderExpirationDate(), 200);
Expand All @@ -181,11 +181,20 @@ public Object render(GwtCredential gwtCredential, String property, ColumnData co
columnConfig = new ColumnConfig("modifiedOnFormatted", CREDENTIAL_MSGS.gridCredentialColumnHeaderModifiedOn(), 200);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("modifiedByName", CREDENTIAL_MSGS.gridCredentialColumnHeaderModifiedBy(), 200);
columnConfig = new ColumnConfig("modifiedByName", CREDENTIAL_MSGS.gridCredentialColumnHeaderModifiedBy(), 150);
columnConfig.setRenderer(new ModifiedByNameCellRenderer<GwtCredential>());
columnConfig.setSortable(false);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("loginFailures", "Login Failures", 100);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("loginFailuresResetFormatted", "Login Failures Resets On", 200);
columnConfigs.add(columnConfig);

columnConfig = new ColumnConfig("lockoutResetFormatted", "Lockout Resets On", 200);
columnConfigs.add(columnConfig);

return columnConfigs;
}

Expand Down

0 comments on commit 8f1fd67

Please sign in to comment.