小编Deb*_*Deb的帖子

Wildfly SSL协议(TLSv1.2)配置

我想知道在wildfly上配置SSL协议的正确方法.

在查看示例时,我发现了两种不同的方法.我想知道哪一个是正确的做法 -

将其添加到协议部分,如下所示:

<security-realm name="sslRealm">
            <server-identities>
                 <ssl protocol="TLSv1.2">
Run Code Online (Sandbox Code Playgroud)

或者在https监听器中添加它,如下所示:

<https-listener name="https" socket-binding="https" security-
realm="sslRealm" enabled-protocols="TLSv1.2"/>
Run Code Online (Sandbox Code Playgroud)

我正在使用wildfly-8.2.0.Final.

ssl wildfly wildfly-8 tls1.2

6
推荐指数
1
解决办法
4498
查看次数

ElasticSearch :: ceating 索引和文档时出现异常

我是 ElasticSearch 的新手,并试图执行他们主页中提到的示例,我在那里遇到了这个错误 -

{
    "error": {
        "root_cause": [
            {
                "type": "illegal_argument_exception",
                "reason": "unknown setting [index.mappings.employee.properties.age.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "unknown setting [index.mappings.employee.properties.age.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",
        "suppressed": [
            {
                "type": "illegal_argument_exception",
                "reason": "unknown setting [index.mappings.employee.properties.experience.type] please check that any required plugins are installed, or check the breaking changes …
Run Code Online (Sandbox Code Playgroud)

elasticsearch

5
推荐指数
1
解决办法
7548
查看次数

将 Excel 表格的整列格式化为字符串

我正在使用 JavaScript API 开发 Excel 加载项以在 Excel Office 365 中构建加载项。对于 Excel 表,如何将整个列的格式设置为默认情况下仅包含字符串。[我需要数字在特定列的所有单元格中显示为 012 而不是 12。]

office-js scriptlab

4
推荐指数
1
解决办法
1426
查看次数

如何以角度6读取JSON文件

我使用angular cli [version - 6.1.3]创建了一个项目,并尝试在组件中导入JSON文件 -

import * as serverJson from '../../config/appdetails.json';
Run Code Online (Sandbox Code Playgroud)

我想在typings.d.ts中包含以下内容 -

declare module "*.json" {
    const value: any;
    export default value;
}
Run Code Online (Sandbox Code Playgroud)

但是,项目结构中没有typings.d.ts.

在这种情况下,以角度6导入JSON文件的最佳方法是什么?

json angular6

1
推荐指数
1
解决办法
4579
查看次数