Class MetadataSource
java.lang.Object
org.opensaml.saml.metadata.resolver.filter.data.impl.MetadataSource
- All Implemented Interfaces:
MetadataFilterContext.Data
Data object for
MetadataFilterContext intended to hold information about the source of the
metadata currently being processed.- Since:
- 4.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet identifier of the metadata source.booleanGet whether the metadata source is trusted.voidsetSourceId(String id) Set identifier of the metadata source.voidsetTrusted(boolean flag) Set whether the metadata source is trusted.
-
Field Details
-
sourceId
An identifier for the source of the metadata, typically the resolver ID. -
trusted
private boolean trustedFlag indicating whether the metadata source is trusted.
-
-
Constructor Details
-
MetadataSource
public MetadataSource()
-
-
Method Details
-
getSourceId
Get identifier of the metadata source.- Returns:
- source identifier
-
setSourceId
Set identifier of the metadata source.- Parameters:
id- source identifier
-
isTrusted
public boolean isTrusted()Get whether the metadata source is trusted.- Returns:
- true if trusted, false if not
-
setTrusted
public void setTrusted(boolean flag) Set whether the metadata source is trusted.- Parameters:
flag- true if trusted, false if not
-