Class BasicSAMLArtifactConfiguration
- java.lang.Object
-
- net.shibboleth.idp.saml.profile.config.BasicSAMLArtifactConfiguration
-
- All Implemented Interfaces:
SAMLArtifactConfiguration
public class BasicSAMLArtifactConfiguration extends Object implements SAMLArtifactConfiguration
Interface for outbound SAML artifact configuration.While sufficient for known SAML 1 and 2 artifact types, the interface may be extended if necessary to carry type-specific additions.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerartifactResolutionIndexThe artifact resolution index.private StringartifactResolutionURLThe artifact resolution URL.private byte[]artifactTypeThe artifact type code.
-
Constructor Summary
Constructors Constructor Description BasicSAMLArtifactConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetArtifactResolutionServiceIndex()Get the index of the issuer's resolution service endpoint, corresponding to its metadata.StringgetArtifactResolutionServiceURL()Get the location, as a URL, of the issuer's resolution service endpoint.byte[]getArtifactType()Get the type code of the artifact to use.voidsetArtifactResolutionServiceIndex(Integer index)Set the index of the issuer's resolution service endpoint, corresponding to its metadata.voidsetArtifactResolutionServiceURL(String url)Set the location, as a URL, of the issuer's resolution service endpoint.voidsetArtifactType(Integer type)Set the type code of the artifact to use.
-
-
-
Method Detail
-
getArtifactType
@Nullable public byte[] getArtifactType()
Get the type code of the artifact to use.- Specified by:
getArtifactTypein interfaceSAMLArtifactConfiguration- Returns:
- the artifact type code
-
setArtifactType
public void setArtifactType(@Nullable Integer type)Set the type code of the artifact to use.- Parameters:
type- type code of artifact
-
getArtifactResolutionServiceURL
@Nullable public String getArtifactResolutionServiceURL()
Get the location, as a URL, of the issuer's resolution service endpoint.- Specified by:
getArtifactResolutionServiceURLin interfaceSAMLArtifactConfiguration- Returns:
- location of resolution service endpoint
-
setArtifactResolutionServiceURL
public void setArtifactResolutionServiceURL(@Nullable String url)Set the location, as a URL, of the issuer's resolution service endpoint.- Parameters:
url- location of the resolution service endpoint
-
getArtifactResolutionServiceIndex
@Nullable public Integer getArtifactResolutionServiceIndex()
Get the index of the issuer's resolution service endpoint, corresponding to its metadata.- Specified by:
getArtifactResolutionServiceIndexin interfaceSAMLArtifactConfiguration- Returns:
- index of resolution service endpoint in metadata
-
setArtifactResolutionServiceIndex
public void setArtifactResolutionServiceIndex(@Nullable Integer index)Set the index of the issuer's resolution service endpoint, corresponding to its metadata.- Parameters:
index- index of resolution service endpoint
-
-