|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.common.binding.artifact.SAMLArtifactFactory
public class SAMLArtifactFactory
Factory for producing SAML artifacts.
Constructor Summary | |
---|---|
SAMLArtifactFactory()
Constructor. |
Method Summary | |
---|---|
SAMLArtifact |
buildArtifact(SAMLVersion samlVersion,
byte[] artifact)
Builds a populated artifact from its byte representation. |
SAMLArtifact |
buildArtifact(SAMLVersion samlVersion,
byte[] artifactType,
java.lang.String relyingParty)
Builds the the artifact for a specific version of SAML and artifact type. |
protected SAMLArtifactBuilder |
getBuilder(SAMLVersion samlVersion,
byte[] artifactType)
Gets the artifact builder for a particular version of SAML and artifact type. |
java.util.Map<java.lang.String,SAMLArtifactBuilder<? extends AbstractSAML1Artifact>> |
getSAML1ArtifactBuilders()
Gets the registered SAML 1 artifact builders. |
java.util.Map<java.lang.String,SAMLArtifactBuilder<? extends AbstractSAML2Artifact>> |
getSAML2ArtifactBuilders()
Gets the registered SAML 2 artifact builders. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLArtifactFactory()
Method Detail |
---|
public SAMLArtifact buildArtifact(SAMLVersion samlVersion, byte[] artifactType, java.lang.String relyingParty) throws BindingException
samlVersion
- SAML versionartifactType
- the type code of the artifactrelyingParty
- the party the artifact is meant for
BindingException
- thrown if the artifact can not be created usually because no builder was registered for
the given version/typepublic SAMLArtifact buildArtifact(SAMLVersion samlVersion, byte[] artifact) throws BindingException
samlVersion
- SAML versionartifact
- byte representation of the artifact
BindingException
- thrown if the given artifact can not be built, usually because there is not builder for
the given SAML version/artifact typepublic java.util.Map<java.lang.String,SAMLArtifactBuilder<? extends AbstractSAML1Artifact>> getSAML1ArtifactBuilders()
public java.util.Map<java.lang.String,SAMLArtifactBuilder<? extends AbstractSAML2Artifact>> getSAML2ArtifactBuilders()
protected SAMLArtifactBuilder getBuilder(SAMLVersion samlVersion, byte[] artifactType)
samlVersion
- the SAML versionartifactType
- the artifact type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |