Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Sustainsys.​Saml2.​Configuration.​SustainsysSaml2Section
Assembly: Sustainsys.Saml2
Inheritance: object → System.Configuration.ConfigurationElement → System.Configuration.ConfigurationSection → SustainsysSaml2Section
Config section for the module.
Properties
EntityId
EntityId - The identity of the ServiceProvider to use when sending requests to Idp
and presenting the SP in metadata.
public
System.​Uri
ReturnUrl
The Url to redirect back to after successfull authentication.
public
System.​Uri
PublicOrigin
By default, the service provider uses the host, protocol, and port
from the HTTP request when creating links. This might not be
accurate in reverse proxy or load-balancing situations. You can
override the origin used for link generation using this property.
public
IdentityProviderCollection
IdentityProviders
Set of identity providers known to the service provider.
public
FederationCollection
Federations
Set of federations. The service provider will trust all the idps in these federations.
public
System.​Uri
DiscoveryServiceUrl
Url to discovery service to use if no idp is specified in the sign in call.
public
string
ModulePath
Application root relative path for Saml2 endpoints. The
default is "Saml2".
public
NameIdPolicyElement
NameIdPolicyElement
NamedId policy element.
public
RequestedAuthnContextElement
RequestedAuthnContext
RequestedAuthnContext config.
Organization
Metadata describing the organization responsible for the entity.
public
MetadataElement
Metadata
Metadata of the service provider.
Contacts
Contacts for the SAML2 entity.
AttributeConsumingServices
Attribute consuming services.
ServiceCertificates
Certificates used by the service provider for signing and/or decryption.
public
SigningBehavior
AuthenticateRequestSigningBehavior
Signing behavior for created AuthnRequests.
public
string
OutboundSigningAlgorithm
Signing algorithm for metadata and outbound messages. Can be
overriden for each <see cref="T:Sustainsys.Saml2.IdentityProvider" /> .
public
string
MinIncomingSigningAlgorithm
Weakest accepted signing algorithm for inbound messages.
public
bool
ValidateCertificates
Validate certificates when validating signatures? Normally not a
good idea as SAML2 deployments typically exchange certificates
directly and instead of relying on the public certificate
infrastructure.
public
CompatibilityElement
Compatibility
Compatibility settings. Can be used to make Saml2 accept
certain non-standard behaviour.
SectionInformation
LockAttributes
LockAllAttributesExcept
LockElements
LockAllElementsExcept
public
bool
LockItem
ElementInformation
EvaluationContext
protected
bool
HasContext
CurrentConfiguration
Methods
public
bool
IsReadOnly​() Returns Returns true (unless during tests)
Used for testing, always returns true in production.
protected
void
ListErrors​(System.Collections.IList errorList)
Inherited from ConfigurationElement
protected
void
SetPropertyValue​(System.Configuration.ConfigurationProperty prop,
object value,
bool ignoreLocks)
Inherited from ConfigurationElement
protected
object
OnRequiredPropertyNotFound​(string name)
Inherited from ConfigurationElement
protected
void
PreSerialize​(System.Xml.XmlWriter writer)
Inherited from ConfigurationElement
protected
bool
OnDeserializeUnrecognizedAttribute​(string name,
string value)
Inherited from ConfigurationElement
protected
bool
OnDeserializeUnrecognizedElement​(string elementName,
System.Xml.XmlReader reader)
Inherited from ConfigurationElement
protected
string
GetTransformedTypeString​(string typeName)
Inherited from ConfigurationElement
protected
string
GetTransformedAssemblyString​(string assemblyName)
Inherited from ConfigurationElement
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object