From 8231edc54ec438a18124657025d93f1a86a21f03 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 23 Feb 2017 09:11:20 +0000 Subject: [PATCH] 96_allowed: update documentation for basicAuth/passwort git-svn-id: https://svn.fhem.de/fhem/trunk@13492 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/96_allowed.pm | 123 +++++++++++++--------------------------- 1 file changed, 39 insertions(+), 84 deletions(-) diff --git a/fhem/FHEM/96_allowed.pm b/fhem/FHEM/96_allowed.pm index ddc1bf5af..d3270f45d 100755 --- a/fhem/FHEM/96_allowed.pm +++ b/fhem/FHEM/96_allowed.pm @@ -360,30 +360,19 @@ EOF
  • basicAuth, basicAuthMsg
    - request a username/password authentication for FHEMWEB access. You have - to set the basicAuth attribute to the Base64 encoded value of - <user>:<password>, e.g.: - You can of course use other means of base64 encoding, e.g. online - Base64 encoders.
    - - If the argument of basicAuth is enclosed in { }, then it will be - evaluated, and the $user and $password variable will be set to the - values entered. If the return value is true, then the password will be - accepted.
    - - If basicAuthMsg is set, it will be displayed in the - popup window when requesting the username/password.
    - - Example:
    + request a username/password authentication for FHEMWEB access. + It can be a base64 encoded string of user:password, an SHA256 hash + (which should be set via the corresponding set command) or a perl + expression if enclosed in {}, where $user and $password are set, and + which returns true if accepted or false if not. Examples: + If basicAuthMsg is set, it will be displayed in the popup window when + requesting the username/password. Note: not all browsers support this + feature.

  • @@ -399,20 +388,9 @@ EOF
  • password
    Specify a password for telnet instances, which has to be entered as the - very first string after the connection is established. If the argument - is enclosed in {}, then it will be evaluated, and the $password - variable will be set to the password entered. If the return value is - true, then the password will be accepted. If this parameter is - specified, FHEM sends telnet IAC requests to supress echo while - entering the password. Also all returned lines are terminated with - \r\n. - Example:
    - + very first string after the connection is established. The same rules + apply as for basicAuth, with the expception that there is no user to be + specified.
    Note: if this attribute is set, you have to specify a password as the first argument when using fhem.pl in client mode: