Compartir a través de


SecurityCredentials Class

  • java.lang.Object
    • system.fabric.SecurityCredentials

public class SecurityCredentials

An abstract base class for types that represent security credentials.

Method Summary

Modifier and Type Method and Description
CredentialType getCredentialType()

Indicates the type of security credentials to use in order to secure the cluster.

SecurityCredentials 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:

The type of security credentials to use in order to secure the cluster.

loadFrom

public static SecurityCredentials loadFrom(FabricCodePackageActivationContext codePackageActivationContext, String configPackageName, String fabricServiceReplicatorSecurityConfigSectionName)

Instantiate SecurityCredentials object from service configuration settings file. Not yet implemented.

Parameters:

codePackageActivationContext - The current code package activation context CodePackageActivationContext.
configPackageName - The current configuration package name.
fabricServiceReplicatorSecurityConfigSectionName - The section within the configuration file that defines all the security settings.

Returns:

The security credentials.

setCredentialType

protected void setCredentialType(CredentialType credentialType)

Indicates the type of security credentials to use in order to secure the cluster.

Parameters:

credentialType - The type of security credentials to use in order to secure the cluster.

Applies to