Class ResolverDataConnectorDependency
java.lang.Object
net.shibboleth.idp.attribute.resolver.ResolverDataConnectorDependency
A Dependency that references to an Data Connector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanWhether to depend on all the connector's attributes.Names of attributes to import via dependency.private final StringID of the plugin that will produce the attribute. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the names of the connector's attributes that make up the dependency.Gets the ID of the plugin that will produce the attribute.inthashCode()booleanGet whether all the connector's attributes are part of the dependency.voidsetAllAttributes(boolean all) Set whether all the connector's attributes are part of the dependency.voidsetAttributeNames(Collection<String> names) Set the names of the connector's attributes that make up the dependency.
-
Field Details
-
dependencyPluginId
ID of the plugin that will produce the attribute. -
allAttributes
private boolean allAttributesWhether to depend on all the connector's attributes. -
attributeNames
Names of attributes to import via dependency.
-
-
Constructor Details
-
ResolverDataConnectorDependency
public ResolverDataConnectorDependency(@Nonnull @NotEmpty @ParameterName(name="pluginId") String pluginId) Constructor.- Parameters:
pluginId- ID of dependency
-
-
Method Details
-
getDependencyPluginId
Gets the ID of the plugin that will produce the attribute.- Returns:
- ID of the plugin that will produce the attribute, never null or empty
-
isAllAttributes
public boolean isAllAttributes()Get whether all the connector's attributes are part of the dependency.- Returns:
- whether all the connector's attributes are part of the dependency
-
setAllAttributes
public void setAllAttributes(boolean all) Set whether all the connector's attributes are part of the dependency.- Parameters:
all- flag to set
-
getAttributeNames
Get the names of the connector's attributes that make up the dependency.- Returns:
- attribute names
-
setAttributeNames
Set the names of the connector's attributes that make up the dependency.- Parameters:
names- attribute names
-
hashCode
public int hashCode() -
equals
-