<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2011, 2019 Eurotech and/or its affiliates

     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Eurotech

-->
<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" localization="en_us">
    <OCD id="org.eclipse.kura.web.Console"
         name="WebConsole"
         description="Web Console configuration. A change to this view will case the reload of the web server! Spurious error messages can be displayed during the restart.">

        <Icon resource="DenaliService" size="32"/>

		<AD id="console.username.value"
        	name="Console Username"
        	type="String"
        	cardinality="0"
        	required="true"
        	default="admin"
        	description="Device's web username.">
        </AD>

        <AD id="console.password.value"
        	name="Console Password"
        	type="Password"
        	cardinality="0"
        	required="true"
        	default="admin"
        	description="Device's web console password. A non empty value should be set.">
        </AD>

        <AD id="app.root"
            name="Web Server Entry Point"
            type="String"
            cardinality="0"
            required="true"
            default="/admin/console"
            description="Default Web Server Entry Point for Applications running of framework\'s Web Server">
        </AD>

        <AD id="session.max.inactivity.interval"
            name="Session max inactivity interval"
            type="Integer"
            cardinality="0"
            required="true"
            default="15"
            min="1"
            description="The session max inactivity interval in minutes. If no interaction with the Web UI is performed for the value of this parameter in minutes, a new login will be requested.">
        </AD>
        
        <AD id="access.banner.enabled"
            name="Access Banner Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="false"
            description="Enables or disables the displaying of a customizable banner at user login.">
        </AD>
        
        <AD id="access.banner.content"
            name="Access Banner Content"
            type="String"
            cardinality="0"
            required="false"
            default=""
            description="Access banner content. To be displayed at every user access, if the feature is enabled.">
        </AD>
        
        <AD id="new.password.min.length"
            name="Minimum password length"<commit_msg>The banner content cannot be empty.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2011, 2019 Eurotech and/or its affiliates

     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Eurotech

-->
<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" localization="en_us">
    <OCD id="org.eclipse.kura.web.Console"
         name="WebConsole"
         description="Web Console configuration. A change to this view will case the reload of the web server! Spurious error messages can be displayed during the restart.">

        <Icon resource="DenaliService" size="32"/>

		<AD id="console.username.value"
        	name="Console Username"
        	type="String"
        	cardinality="0"
        	required="true"
        	default="admin"
        	description="Device's web username.">
        </AD>

        <AD id="console.password.value"
        	name="Console Password"
        	type="Password"
        	cardinality="0"
        	required="true"
        	default="admin"
        	description="Device's web console password. A non empty value should be set.">
        </AD>

        <AD id="app.root"
            name="Web Server Entry Point"
            type="String"
            cardinality="0"
            required="true"
            default="/admin/console"
            description="Default Web Server Entry Point for Applications running of framework\'s Web Server">
        </AD>

        <AD id="session.max.inactivity.interval"
            name="Session max inactivity interval"
            type="Integer"
            cardinality="0"
            required="true"
            default="15"
            min="1"
            description="The session max inactivity interval in minutes. If no interaction with the Web UI is performed for the value of this parameter in minutes, a new login will be requested.">
        </AD>
        
        <AD id="access.banner.enabled"
            name="Access Banner Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="false"
            description="Enables or disables the displaying of a customizable banner at user login.">
        </AD>
        
        <AD id="access.banner.content"
            name="Access Banner Content"
            type="String"
            cardinality="0"
            required="true"
            default="Sample Banner Content"
            description="Access banner content. To be displayed at every user access, if the feature is enabled.|TextArea">
        </AD>
        
        <AD id="new.password.min.length"
            name="Minimum password length"
{'fraction_non_alphanumeric': 0.10012426770814842, 'fraction_numerical': 0.010296467246582638, 'mean_word_length': 2.08037178786222, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 2, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4826455', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1430, 'n_words': 459}