}
}
final Set<UserConnectionLog> connectionLogs = user.getConnectionLogs();
for (Iterator<UserConnectionLog> iteratorUserConnectionLog = connectionLogs.iterator(); iteratorUserConnectionLog.hasNext();) {
UserConnectionLog connectionLog = (UserConnectionLog) iteratorUserConnectionLog.next();
UserConnectionLogValueBean userConnectionLogValueBean = new UserConnectionLogValueBean();
userConnectionLogValueBean.setDate(dateFormat.format(connectionLog.getLoginDate()));
userConnectionLogValueBean.setHost(Constants.NOT_AVAILABLE);
if (StringUtils.isNotEmpty(connectionLog.getHost())) {
userConnectionLogValueBean.setHost(connectionLog.getHost());
}
userConnectionLogValueBean.setPublicAddress(Constants.NOT_AVAILABLE);
if (StringUtils.isNotEmpty(connectionLog.getPublicAddress())) {
userConnectionLogValueBean.setPublicAddress(connectionLog.getPublicAddress());
}
userConnectionLogValueBean.setPrivateAddress(Constants.NOT_AVAILABLE);
if (StringUtils.isNotEmpty(connectionLog.getPrivateAddress())) {
userConnectionLogValueBean.setPublicAddress(connectionLog.getPrivateAddress());
}
userViewBean.getUserConnectionLogs().add(userConnectionLogValueBean);
}
final List<String> excludedPatterns = new ArrayList<String>();