ClaimsCredentials Class
- java.
lang. Object - SecurityCredentials
- system.
fabric. ClaimsCredentials
- system.
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). |
Protection |
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
Gets the certificate thumbprints of server certificate issuer.
Returns:
getLocalClaims
public String getLocalClaims()
Gets the string representation of claims token acquired from STS (security token service).
Returns:
getProtectionLevel
public ProtectionLevel getProtectionLevel()
Gets the protection level of communication with server; the default value is ENCRYPTANDSIGN.
Returns:
getServerCommonNames
public List
Gets the expected common names of server certificate.
Returns:
setLocalClaims
public void setLocalClaims(String localClaims)
Sets the string representation of claims token acquired from STS (security token service).
Parameters:
setProtectionLevel
public void setProtectionLevel(ProtectionLevel protectionLevel)
Sets the protection level of communication with server; the default value is ENCRYPTANDSIGN.
Parameters:
Applies to
Azure SDK for Java