Environment.java 文件源码

java
阅读 27 收藏 0 点赞 0 评论 0

项目:OperatieBRP 作者:
/**
 * Bepaalt de authenticator op basis van de properties.
 * @param environment De verzameling properties uit de environment
 * @return de authenticator
 */
public static JMXAuthenticator determineAuthenticator(final Map<String, ?> environment) {
    // Custom authenticator via the environment
    final JMXAuthenticator custom = (JMXAuthenticator) environment.get(KEY_AUTHENTICATOR);
    if (custom != null) {
        return custom;
    }

    // Default: no authentication
    return new StaticAuthenticator();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号