Class BasicSAMLArtifactConfiguration
java.lang.Object
net.shibboleth.saml.profile.config.BasicSAMLArtifactConfiguration
- All Implemented Interfaces:
SAMLArtifactConfiguration,Component,IdentifiableComponent,IdentifiedComponent
public class BasicSAMLArtifactConfiguration
extends Object
implements SAMLArtifactConfiguration, IdentifiableComponent
Concrete class for outbound SAML artifact configuration.
While sufficient for known SAML 1 and 2 artifact types, the class may be extended if necessary to carry type-specific additions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the index of the issuer's resolution service endpoint, corresponding to its metadata.Get the location, as a URL, of the issuer's resolution service endpoint.byte[]Get the type code of the artifact to use.getId()voidSet the index of the issuer's resolution service endpoint, corresponding to its metadata.voidSet the location, as a URL, of the issuer's resolution service endpoint.voidsetArtifactType(Integer type) Set the type code of the artifact to use.void
-
Field Details
-
id
Identifier. -
artifactType
@Nullable private byte[] artifactTypeThe artifact type code. -
artifactResolutionURL
The artifact resolution URL. -
artifactResolutionIndex
The artifact resolution index.
-
-
Constructor Details
-
BasicSAMLArtifactConfiguration
public BasicSAMLArtifactConfiguration()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiedComponent
-
setId
- Specified by:
setIdin interfaceIdentifiableComponent
-
getArtifactType
@Nullable public byte[] getArtifactType()Get the type code of the artifact to use.- Specified by:
getArtifactTypein interfaceSAMLArtifactConfiguration- Returns:
- the artifact type code
-
setArtifactType
Set the type code of the artifact to use.- Parameters:
type- type code of artifact
-
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
Set the location, as a URL, of the issuer's resolution service endpoint.- Parameters:
url- location of the resolution service endpoint
-
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
Set the index of the issuer's resolution service endpoint, corresponding to its metadata.- Parameters:
index- index of resolution service endpoint
-