Package net.shibboleth.sp.impl
Class ProfileConfigurationManager
java.lang.Object
java.util.AbstractCollection<ProfileConfiguration>
net.shibboleth.sp.impl.ProfileConfigurationManager
- All Implemented Interfaces:
Iterable<ProfileConfiguration>,Collection<ProfileConfiguration>
A wrapper class for collecting plugin-supplied
ProfileConfiguration beans
and using them as an implicit defaults to install into Application beans in place
of a deployer-managed manual list.
The constructor tailors the set of profiles managed and exposed based on whether they should be verified or unverified profiles and standard or metadata-drive variants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection<ProfileConfiguration>Underlying collection. -
Constructor Summary
ConstructorsConstructorDescriptionProfileConfigurationManager(ProtocolSupportServiceManager manager, boolean verified, boolean metadataDriven) Constructor. -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
profileConfigurations
Underlying collection.
-
-
Constructor Details
-
ProfileConfigurationManager
public ProfileConfigurationManager(@ParameterName(name="manager") @Nullable ProtocolSupportServiceManager manager, @ParameterName(name="verified") boolean verified, @ParameterName(name="metadataDriven") boolean metadataDriven) Constructor.- Parameters:
manager- injected plugin-supplied source of defaultProfileConfigurationinstancesverified- toggles between exposing verified or unverified profilesmetadataDriven- flag controlling which profile configurations to expose
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<ProfileConfiguration>- Specified by:
iteratorin interfaceIterable<ProfileConfiguration>- Specified by:
iteratorin classAbstractCollection<ProfileConfiguration>
-
size
public int size()- Specified by:
sizein interfaceCollection<ProfileConfiguration>- Specified by:
sizein classAbstractCollection<ProfileConfiguration>
-