public class SAML2ArtifactBuilderFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,SAML2ArtifactBuilder> |
artifactBuilders
Registered artifact builders.
|
| Constructor and Description |
|---|
SAML2ArtifactBuilderFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractSAML2Artifact |
buildArtifact(byte[] artifact)
convenience method for getting an artifact builder and parsing the given artifact with it.
|
AbstractSAML2Artifact |
buildArtifact(java.lang.String base64Artifact)
Convenience method for getting an artifact builder and parsing the given Base64 encoded artifact with it.
|
SAML2ArtifactBuilder |
getArtifactBuilder(byte[] type)
Gets the artifact builder for the given type.
|
java.util.Map<java.lang.String,SAML2ArtifactBuilder> |
getArtifactBuilders()
Gets the currently registered artifact builders.
|
private java.util.Map<java.lang.String,SAML2ArtifactBuilder> artifactBuilders
public java.util.Map<java.lang.String,SAML2ArtifactBuilder> getArtifactBuilders()
public SAML2ArtifactBuilder getArtifactBuilder(byte[] type)
type - type of artifact to be builtpublic AbstractSAML2Artifact buildArtifact(java.lang.String base64Artifact)
base64Artifact - Base64 encoded artifact to parsepublic AbstractSAML2Artifact buildArtifact(byte[] artifact)
artifact - artifact to parse