[英]WSO2 EMM device registration: I receive e-mail without login and password for register my device
I install and deploy WSO2EMM on server with public ip, then I configured it. 我使用公共IP在服务器上安装和部署WSO2EMM,然后对其进行配置。 I replace all "localhost" to ip in .xml and .json files.
我将所有“ localhost”替换为.xml和.json文件中的ip。 I send email for enroll my device, but this email contains only link to download agent and no login/password to registration it.
我发送电子邮件以注册我的设备,但该电子邮件仅包含下载代理程序的链接,而没有注册该代理程序的登录名/密码。 I find two templates for emails at /repository/conf/notification-messages.xml:
我在/repository/conf/notification-messages.xml中找到了两个电子邮件模板:
<Notifications>
<NotificationMessage type="enrol">
<Subject>Enroll your Device with WSO2 MDM</Subject>
<Header>Dear {first-name},</Header>
<Body>
You have been registered to the WSO2 MDM. Below is the link to enroll.
</Body>
<Url>{downloadUrl}</Url>
<Footer1>
Best Regards,
</Footer1>
<Footer2>
WSO2 MDM Team.
</Footer2>
<Footer3>
http://www.wso2.com
</Footer3>
</NotificationMessage>
<NotificationMessage type="userRegistration">
<Subject>Enroll your Device with WSO2 MDM</Subject>
<Header>Dear {first-name},</Header>
<Body>
You have been registered to WSO2 MDM with following credentials.
Domain: {domain-name}
Username: {user-name}
Password: {password}
Below is the link to enroll.
</Body>
<Url>{downloadUrl}</Url>
<Footer1>
Best Regards,
</Footer1>
<Footer2>
WSO2 MDM Team.
</Footer2>
<Footer3>
http://www.wso2.com
</Footer3>
</NotificationMessage>
</Notifications>
I receive template "enrol". 我收到模板“注册”。 I try insert placeholders {user-name} and {password} into it but unfortunately: variables miss in the scope of mail, they displayed as plain text.
我尝试在其中插入占位符{user-name}和{password},但不幸的是:变量在邮件范围内丢失,它们显示为纯文本。 I search any file where I can switch type of email template but I didn't find it.
我搜索了可以切换电子邮件模板类型的任何文件,但没有找到。 How I can take credentials for registration device?
如何获取注册设备的凭证?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.