quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test892 (758B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 POP3
      5 SASL
      6 SASL AUTH PLAIN
      7 RFC1734
      8 RFC4616
      9 RFC5034
     10 </keywords>
     11 </info>
     12 
     13 #
     14 # Server-side
     15 <reply>
     16 <servercmd>
     17 AUTH PLAIN
     18 REPLY AUTH +
     19 REPLY c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ= +OK Login successful
     20 </servercmd>
     21 <data>
     22 From: me@somewhere
     23 To: fake@nowhere
     24 
     25 body
     26 
     27 --
     28   yours sincerely
     29 </data>
     30 </reply>
     31 
     32 #
     33 # Client-side
     34 <client>
     35 <server>
     36 pop3
     37 </server>
     38 <name>
     39 POP3 plain authentication with alternative authorization identity
     40 </name>
     41 <command>
     42 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-authzid shared-mailbox
     43 </command>
     44 </client>
     45 
     46 #
     47 # Verify data after the test has been "shot"
     48 <verify>
     49 <protocol>
     50 CAPA
     51 AUTH PLAIN
     52 c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=
     53 RETR %TESTNUMBER
     54 QUIT
     55 </protocol>
     56 </verify>
     57 </testcase>