你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SecurityCredentials Class
- java.
lang. Object - system.
fabric. SecurityCredentials
- system.
public class SecurityCredentials
An abstract base class for types that represent security credentials.
Method Summary
Modifier and Type | Method and Description |
---|---|
Credential |
getCredentialType()
Indicates the type of security credentials to use in order to secure the cluster. |
Security |
loadFrom(FabricCodePackageActivationContext codePackageActivationContext, String configPackageName, String fabricServiceReplicatorSecurityConfigSectionName)
Instantiate SecurityCredentials object from service configuration settings file. Not yet implemented. |
void |
setCredentialType(CredentialType credentialType)
Indicates the type of security credentials to use in order to secure the cluster. |
Method Details
getCredentialType
public CredentialType getCredentialType()
Indicates the type of security credentials to use in order to secure the cluster.
Returns:
loadFrom
public static SecurityCredentials loadFrom(FabricCodePackageActivationContext codePackageActivationContext, String configPackageName, String fabricServiceReplicatorSecurityConfigSectionName)
Instantiate SecurityCredentials object from service configuration settings file. Not yet implemented.
Parameters:
Returns:
setCredentialType
protected void setCredentialType(CredentialType credentialType)
Indicates the type of security credentials to use in order to secure the cluster.
Parameters: