Class SAMLMetadataSignatureSigningParametersResolver

    • Field Detail

      • log

        @Nonnull
        private org.slf4j.Logger log
        Logger.
    • Constructor Detail

      • SAMLMetadataSignatureSigningParametersResolver

        public SAMLMetadataSignatureSigningParametersResolver()
    • Method Detail

      • credentialSupportsSigningMethod

        protected boolean credentialSupportsSigningMethod​(@Nonnull
                                                          Credential credential,
                                                          @Nonnull @NotEmpty
                                                          SigningMethod signingMethod)
        Evaluate whether the specified credential is supported for use with the specified SigningMethod.
        Parameters:
        credential - the credential to evaluate
        signingMethod - the signing method to evaluate
        Returns:
        true if credential may be used with the supplied algorithm URI, false otherwise
      • getExtensions

        @Nullable
        protected List<XMLObject> getExtensions​(@Nonnull
                                                RoleDescriptor roleDescriptor,
                                                @Nonnull
                                                QName extensionName)
        Get the extensions indicated by the passed QName. The passed RoleDescriptor's Extensions element is examined first. If at least 1 such extension is found there, that list is returned. If no such extensions are found on the RoleDescriptor, then the RoleDescriptor's parent EntityDescriptor will be examined, if it exists.
        Parameters:
        roleDescriptor - the role descriptor instance to examine
        extensionName - the extension name for which to search
        Returns:
        the list of extension XMLObjects found, or null