Klasse EmailReply00Challenge

Alle implementierten Schnittstellen:
Serializable, PollableResource

Implements the "email-reply-00" challenge.
Seit:
2.12
Siehe auch:
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • getFrom

      public String getFrom()
      Returns the email address in the "from" field of the challenge.
      Gibt zurück:
      The "from" email address, as String.
    • getExpectedSender

      public jakarta.mail.internet.InternetAddress getExpectedSender()
      Returns the email address of the expected sender of the "challenge" mail.

      This is the same value that is returned by getFrom(), but as InternetAddress instance.

      Gibt zurück:
      Expected sender of the challenge email.
    • getToken

      public String getToken(String part1)
      Returns the token, which is a concatenation of the part 1 that is sent by email, and part 2 that is passed into this callenge via getTokenPart2();
      Parameter:
      part1 - Part 1 of the token, which can be found in the subject of the corresponding challenge email.
      Gibt zurück:
      Concatenated token
    • getTokenPart2

      Returns the part 2 of the token to be used for this challenge. Part 2 is sent via this challenge.
    • getAuthorization

      This method is not implemented. Use getAuthorization(String) instead.
      Setzt außer Kraft:
      getAuthorization in Klasse TokenChallenge
    • getAuthorization

      public String getAuthorization(String part1)
      Returns the authorization string.
      Parameter:
      part1 - Part 1 of the token, which can be found in the subject of the corresponding challenge email.
    • acceptable

      protected boolean acceptable(String type)
      Setzt außer Kraft:
      acceptable in Klasse Challenge