ClaimsCredentials Class

public class ClaimsCredentials extends SecurityCredentials

Represents the claim based security credential acquired from STS (security token service).

Constructor Summary

Constructor Description
ClaimsCredentials()

Initializes a new instance of the system.fabric.ClaimsCredentials class.

Method Summary

Modifier and Type Method and Description
List<String> getIssuerThumbprints()

Gets the certificate thumbprints of server certificate issuer.

String getLocalClaims()

Gets the string representation of claims token acquired from STS (security token service).

ProtectionLevel getProtectionLevel()

Gets the protection level of communication with server; the default value is ENCRYPTANDSIGN.

List<String> getServerCommonNames()

Gets the expected common names of server certificate.

void setLocalClaims(String localClaims)

Sets the string representation of claims token acquired from STS (security token service).

void setProtectionLevel(ProtectionLevel protectionLevel)

Sets the protection level of communication with server; the default value is ENCRYPTANDSIGN.

Inherited Members

Constructor Details

ClaimsCredentials

public ClaimsCredentials()

Initializes a new instance of the system.fabric.ClaimsCredentials class.

Method Details

getIssuerThumbprints

public List getIssuerThumbprints()

Gets the certificate thumbprints of server certificate issuer.

Returns:

The certificate thumbprints of server certificate issuer.

getLocalClaims

public String getLocalClaims()

Gets the string representation of claims token acquired from STS (security token service).

Returns:

The string representation of claims token acquired from STS (security token service).

getProtectionLevel

public ProtectionLevel getProtectionLevel()

Gets the protection level of communication with server; the default value is ENCRYPTANDSIGN.

Returns:

The protection level of communication with server.

getServerCommonNames

public List getServerCommonNames()

Gets the expected common names of server certificate.

Returns:

The expected common names of server certificate.

setLocalClaims

public void setLocalClaims(String localClaims)

Sets the string representation of claims token acquired from STS (security token service).

Parameters:

localClaims - The string representation of claims token acquired from STS (security token service).

setProtectionLevel

public void setProtectionLevel(ProtectionLevel protectionLevel)

Sets the protection level of communication with server; the default value is ENCRYPTANDSIGN.

Parameters:

protectionLevel - The protection level of communication with server.

Applies to