/**
* 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();
}
Environment.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:OperatieBRP
作者:
评论列表
文章目录