Package org.opensaml.saml.config
Class SAMLConfigurationSupport
- java.lang.Object
-
- org.opensaml.saml.config.SAMLConfigurationSupport
-
public final class SAMLConfigurationSupport extends Object
Helper class for working with the registered instance ofSAMLConfiguration
, as obtained from theConfigurationService
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SAMLConfigurationSupport()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getAllowedBindingURLSchemes()
Get the allowed URL schemes.static SAML1ArtifactBuilderFactory
getSAML1ArtifactBuilderFactory()
Gets the artifact factory for the library.static SAML2ArtifactBuilderFactory
getSAML2ArtifactBuilderFactory()
Gets the artifact factory for the library.static void
setAllowedBindingURLSchemes(List<String> schemes)
Set the allowed URL schemes.static void
setSAML1ArtifactBuilderFactory(SAML1ArtifactBuilderFactory factory)
Sets the artifact factory for the library.static void
setSAML2ArtifactBuilderFactory(SAML2ArtifactBuilderFactory factory)
Sets the artifact factory for the library.
-
-
-
Method Detail
-
getSAML1ArtifactBuilderFactory
public static SAML1ArtifactBuilderFactory getSAML1ArtifactBuilderFactory()
Gets the artifact factory for the library.- Returns:
- artifact factory for the library
-
setSAML1ArtifactBuilderFactory
public static void setSAML1ArtifactBuilderFactory(SAML1ArtifactBuilderFactory factory)
Sets the artifact factory for the library.- Parameters:
factory
- artifact factory for the library
-
getSAML2ArtifactBuilderFactory
public static SAML2ArtifactBuilderFactory getSAML2ArtifactBuilderFactory()
Gets the artifact factory for the library.- Returns:
- artifact factory for the library
-
setSAML2ArtifactBuilderFactory
public static void setSAML2ArtifactBuilderFactory(SAML2ArtifactBuilderFactory factory)
Sets the artifact factory for the library.- Parameters:
factory
- artifact factory for the library
-
getAllowedBindingURLSchemes
public static List<String> getAllowedBindingURLSchemes()
Get the allowed URL schemes.- Returns:
- the list of allowed URL schemes
-
-