Class BasicDynamicTrustedNamesStrategy

  • All Implemented Interfaces:
    Function<org.opensaml.core.xml.XMLObject,​Set<String>>

    public class BasicDynamicTrustedNamesStrategy
    extends Object
    implements Function<org.opensaml.core.xml.XMLObject,​Set<String>>
    Function which implements a basic strategy for extracting trusted names for PKIX trust engine evaluation.

    Names are extracted as follows from these signed metadata element types:

    • EntityDescriptor: the entityID attribute
    • EntitiesDescriptor: the Name attribute
    • RoleDescriptor: the entityID attribute of the parent EntityDescriptor
    • AffiliationDescriptor: 1) the affiliationOwnerID attribute and 2) the entityID attribute of the parent EntityDescriptor
    • Constructor Detail

      • BasicDynamicTrustedNamesStrategy

        public BasicDynamicTrustedNamesStrategy()
    • Method Detail

      • apply

        @Nonnull
        @NonnullElements
        public Set<String> apply​(@Nullable
                                 org.opensaml.core.xml.XMLObject input)
        Specified by:
        apply in interface Function<org.opensaml.core.xml.XMLObject,​Set<String>>