class SecurityFunctionServiceImpl implements SecurityFunctionService {

    @Override
    public SecurityFunctionKeys getSecurityFunctions()
    {
        SecurityFunctionKeys securityFunctionKeys = new SecurityFunctionKeys();
        securityFunctionKeys.getSecurityFunctionKeys()
            .addAll(securityFunctionDao.getSecurityFunctions().stream().map(SecurityFunctionKey::new).collect(Collectors.toList()));
        return securityFunctionKeys;
    }

}