Show / Hide Table of Contents

Class SAMLConfigurationResolver

Resolves configuration using the specified SAML configuration.

Inheritance
System.Object
AbstractSAMLConfigurationResolver
SAMLConfigurationResolver
Implements
ISAMLConfigurationResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SAMLConfigurationResolver : AbstractSAMLConfigurationResolver, ISAMLConfigurationResolver

Constructors

SAMLConfigurationResolver(SAMLConfigurations)

Constructs a SAMLConfigurationResolver.

Declaration
public SAMLConfigurationResolver(SAMLConfigurations samlConfigurations)
Parameters
Type Name Description
SAMLConfigurations samlConfigurations

The SAML configurations.

Methods

GetLocalIdentityProviderConfiguration(String)

Gets the LocalIdentityProviderConfiguration.

Declaration
public override LocalIdentityProviderConfiguration GetLocalIdentityProviderConfiguration(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
LocalIdentityProviderConfiguration

The local identity provider configuration.

Overrides
AbstractSAMLConfigurationResolver.GetLocalIdentityProviderConfiguration(String)
Exceptions
Type Condition
SAMLException

Thrown when the local identity provider configuration cannot be found.

GetLocalServiceProviderConfiguration(String)

Gets the LocalServiceProviderConfiguration.

Declaration
public override LocalServiceProviderConfiguration GetLocalServiceProviderConfiguration(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
LocalServiceProviderConfiguration

The local service provider configuration.

Overrides
AbstractSAMLConfigurationResolver.GetLocalServiceProviderConfiguration(String)
Exceptions
Type Condition
SAMLException

Thrown when the local service provider configuration cannot be found.

GetPartnerIdentityProviderConfiguration(String, String)

Gets the PartnerIdentityProviderConfiguration given the partner name.

Declaration
public override PartnerIdentityProviderConfiguration GetPartnerIdentityProviderConfiguration(string configurationName, string partnerName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

System.String partnerName

The partner name.

Returns
Type Description
PartnerIdentityProviderConfiguration

The partner identity provider configuration.

Overrides
AbstractSAMLConfigurationResolver.GetPartnerIdentityProviderConfiguration(String, String)
Exceptions
Type Condition
SAMLException

Thrown when the partner identity provider configuration cannot be found.

GetPartnerIdentityProviderNames(String)

Gets the names of the partner identity providers.

Declaration
public override IList<string> GetPartnerIdentityProviderNames(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Collections.Generic.IList<System.String>

The names of the partner identity providers.

Overrides
AbstractSAMLConfigurationResolver.GetPartnerIdentityProviderNames(String)
Exceptions
Type Condition
SAMLException

Thrown when the partner identity provider names cannot be retrieved.

GetPartnerServiceProviderConfiguration(String, String)

Gets the PartnerServiceProviderConfiguration given the partner name.

Declaration
public override PartnerServiceProviderConfiguration GetPartnerServiceProviderConfiguration(string configurationName, string partnerName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

System.String partnerName

The partner name.

Returns
Type Description
PartnerServiceProviderConfiguration

The partner service provider configuration.

Overrides
AbstractSAMLConfigurationResolver.GetPartnerServiceProviderConfiguration(String, String)
Exceptions
Type Condition
SAMLException

Thrown when the partner service provider configuration cannot be found.

GetPartnerServiceProviderNames(String)

Gets the names of the partner service providers.

Declaration
public override IList<string> GetPartnerServiceProviderNames(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Collections.Generic.IList<System.String>

The names of the partner service providers.

Overrides
AbstractSAMLConfigurationResolver.GetPartnerServiceProviderNames(String)
Exceptions
Type Condition
SAMLException

Thrown when the partner service provider names cannot be retrieved.

IsLocalIdentityProvider(String)

Indicates whether a local identity provider is configured.

Declaration
public override bool IsLocalIdentityProvider(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Boolean

true if a local identity provider is configured; otherwise false.

Overrides
AbstractSAMLConfigurationResolver.IsLocalIdentityProvider(String)

IsLocalServiceProvider(String)

Indicates whether a local service provider is configured.

Declaration
public override bool IsLocalServiceProvider(string configurationName)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Boolean

true if a local service provider is configured; otherwise false.

Overrides
AbstractSAMLConfigurationResolver.IsLocalServiceProvider(String)

Implements

ISAMLConfigurationResolver
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.