Interface NamespaceValidator


  • @Role
    public interface NamespaceValidator
    Validate a namespace against list of allowed namespaces.
    Since:
    8.0M1
    Version:
    $Id: ab90906780ffb4282206afb149b2524d3929f01b $
    • Method Detail

      • isAllowed

        boolean isAllowed​(Collection<String> allowedNamespaces,
                          String namespace)
        Parameters:
        allowedNamespaces - the allowed dynamic (or not) namespaces, null matches any namespace
        namespace - to validate against passed allowed namespaces
        Returns:
        the namespace(s) corresponding to the passed dynamic namespaces