Muokkaa

Jaa


SamlAuthenticationStatement.AuthenticationMethod Property

Definition

Gets or sets the method used to authenticate the subject.

public:
 property System::String ^ AuthenticationMethod { System::String ^ get(); void set(System::String ^ value); };
public string AuthenticationMethod { get; set; }
member this.AuthenticationMethod : string with get, set
Public Property AuthenticationMethod As String

Property Value

The method used to authenticate the subject. The default value is urn:oasis:names:tc:SAML:1.0:am:unspecified.

Exceptions

The AuthenticationMethod property is set and the IsReadOnly property is true.

Remarks

The set of authentication methods is extensible; however the following table contains the set of authentication methods defined in the SAML specification.

Authentication method URI
Password urn:oasis:names:tc:SAML:1.0:am:password
Kerberos urn:ietf:rfc:1510
Secure Remote Password (SRP) urn:ietf:rfc:2945
Hardware Token URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken
SSL/TLS Certificate Based Client Authentication urn:ietf:rfc:2246
PGP Public Key urn:oasis:names:tc:SAML:1.0:am:PGP
SPKI Public Key urn:oasis:names:tc:SAML:1.0:am:SPKI
XKMS Public Key urn:oasis:names:tc:SAML:1.0:am:XKMS
XML Digital Signature urn:ietf:rfc:3075
Unspecified urn:oasis:names:tc:SAML:1.0:am:unspecified

When the AuthenticationMethod property is set to null, the authentication method is set to urn:oasis:names:tc:SAML:1.0:am:unspecified.

The AuthenticationMethod property corresponds to the AuthenticationMethod attribute of the <AuthenticationStatement> element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.

Applies to