本文整理了Java中com.netflix.spinnaker.halyard.config.model.v1.security.X509.getNodeName()
方法的一些代码示例,展示了X509.getNodeName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。X509.getNodeName()
方法的具体详情如下:
包路径:com.netflix.spinnaker.halyard.config.model.v1.security.X509
类名称:X509
方法名:getNodeName
暂无
代码示例来源:origin: spinnaker/halyard
public X509Config(Security security) {
if (!security.getAuthn().getX509().isEnabled()) {
return;
}
X509 x509 = security.getAuthn().getX509();
this.enabled = x509.isEnabled();
if (StringUtils.isNotEmpty(x509.getRoleOid())) {
this.roleOid = x509.getRoleOid();
}
if (StringUtils.isNotEmpty(x509.getNodeName())) {
this.subjectPrincipalRegex = x509.getSubjectPrincipalRegex();
}
}
}
代码示例来源:origin: com.netflix.spinnaker.halyard/halyard-deploy
public X509Config(Security security) {
if (!security.getAuthn().getX509().isEnabled()) {
return;
}
X509 x509 = security.getAuthn().getX509();
this.enabled = x509.isEnabled();
if (StringUtils.isNotEmpty(x509.getRoleOid())) {
this.roleOid = x509.getRoleOid();
}
if (StringUtils.isNotEmpty(x509.getNodeName())) {
this.subjectPrincipalRegex = x509.getSubjectPrincipalRegex();
}
}
}
内容来源于网络,如有侵权,请联系作者删除!