Package swiss.trustbroker.config.dto
Class ArtifactResolution
java.lang.Object
swiss.trustbroker.config.dto.ArtifactResolution
SAML artifact resolution protocol configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionArtifactResolution(String serviceUrl, int index, int artifactLifetimeSecs, int artifactReapIntervalSecs, Boolean persistentCache, String proxyUrl, swiss.trustbroker.common.config.KeystoreProperties truststore, swiss.trustbroker.common.config.KeystoreProperties keystore) Deprecated.Use NetworkConfig.proxyUrl -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanintLifetime of artifacts in cache in seconds.intArtifact cache reap interval in seconds.intgetIndex()XTB Artifact Resolution index.swiss.trustbroker.common.config.KeystorePropertiesDefault keystore for artifact resolution.Persist artifact cache.Deprecated.Use NetworkConfig.proxyUrlXTB Artifact Resolution service URL, included in the metadata.swiss.trustbroker.common.config.KeystorePropertiesDefault truststore for artifact resolution.inthashCode()voidsetArtifactLifetimeSecs(int artifactLifetimeSecs) Lifetime of artifacts in cache in seconds.voidsetArtifactReapIntervalSecs(int artifactReapIntervalSecs) Artifact cache reap interval in seconds.voidsetIndex(int index) XTB Artifact Resolution index.voidsetKeystore(swiss.trustbroker.common.config.KeystoreProperties keystore) Default keystore for artifact resolution.voidsetPersistentCache(Boolean persistentCache) Persist artifact cache.voidsetProxyUrl(String proxyUrl) Deprecated.Use NetworkConfig.proxyUrlvoidsetServiceUrl(String serviceUrl) XTB Artifact Resolution service URL, included in the metadata.voidsetTruststore(swiss.trustbroker.common.config.KeystoreProperties truststore) Default truststore for artifact resolution.toString()
-
Constructor Details
-
ArtifactResolution
public ArtifactResolution() -
ArtifactResolution
public ArtifactResolution(String serviceUrl, int index, int artifactLifetimeSecs, int artifactReapIntervalSecs, Boolean persistentCache, String proxyUrl, swiss.trustbroker.common.config.KeystoreProperties truststore, swiss.trustbroker.common.config.KeystoreProperties keystore) Deprecated.Use NetworkConfig.proxyUrlCreates a newArtifactResolutioninstance.- Parameters:
serviceUrl- XTB Artifact Resolution service URL, included in the metadata.
Note: Currently, the path that is requested on XTB needs to be/api/v1/saml/arp.index- XTB Artifact Resolution index.
Default: 0artifactLifetimeSecs- Lifetime of artifacts in cache in seconds.artifactReapIntervalSecs- Artifact cache reap interval in seconds.persistentCache- Persist artifact cache. Required for multi-line setups.proxyUrl- Default proxy URL for artifact resolution.truststore- Default truststore for artifact resolution.keystore- Default keystore for artifact resolution.- See Also:
-
-
Method Details
-
builder
-
getServiceUrl
XTB Artifact Resolution service URL, included in the metadata.
Note: Currently, the path that is requested on XTB needs to be/api/v1/saml/arp. -
getIndex
public int getIndex()XTB Artifact Resolution index.
Default: 0 -
getArtifactLifetimeSecs
public int getArtifactLifetimeSecs()Lifetime of artifacts in cache in seconds. -
getArtifactReapIntervalSecs
public int getArtifactReapIntervalSecs()Artifact cache reap interval in seconds. -
getPersistentCache
Persist artifact cache. Required for multi-line setups. -
getProxyUrl
Deprecated.Use NetworkConfig.proxyUrlDefault proxy URL for artifact resolution.- See Also:
-
getTruststore
public swiss.trustbroker.common.config.KeystoreProperties getTruststore()Default truststore for artifact resolution. -
getKeystore
public swiss.trustbroker.common.config.KeystoreProperties getKeystore()Default keystore for artifact resolution. -
setServiceUrl
XTB Artifact Resolution service URL, included in the metadata.
Note: Currently, the path that is requested on XTB needs to be/api/v1/saml/arp. -
setIndex
public void setIndex(int index) XTB Artifact Resolution index.
Default: 0 -
setArtifactLifetimeSecs
public void setArtifactLifetimeSecs(int artifactLifetimeSecs) Lifetime of artifacts in cache in seconds. -
setArtifactReapIntervalSecs
public void setArtifactReapIntervalSecs(int artifactReapIntervalSecs) Artifact cache reap interval in seconds. -
setPersistentCache
Persist artifact cache. Required for multi-line setups. -
setProxyUrl
Deprecated.Use NetworkConfig.proxyUrlDefault proxy URL for artifact resolution.- See Also:
-
setTruststore
public void setTruststore(swiss.trustbroker.common.config.KeystoreProperties truststore) Default truststore for artifact resolution. -
setKeystore
public void setKeystore(swiss.trustbroker.common.config.KeystoreProperties keystore) Default keystore for artifact resolution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-