Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accountMailer(JavaMailSender, MailProperties) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Creates the mailer.
- ALREADY_REGISTERED - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Message key prefix of the already-registered message.
B
- baseUrl - Variable in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
The field for the
baseUrlrecord component. - baseUrl() - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Returns the value of the
baseUrlrecord component. - BUNDLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Base name of the message bundles of this module.
C
- CODE_SUBJECT - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Message key of the subject of the code message.
- CODE_TEMPLATE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Template of the code message (without extension).
- CODE_VARIABLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Template variable holding the code.
- com.irurueta.authserver.authorization.infrastructure.mail - package com.irurueta.authserver.authorization.infrastructure.mail
-
Mail adapter of the authorization server: delivers one-time tokens and account e-mails.
D
- DEFAULT_BASE_URL - Static variable in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Base URL used when none is configured.
- DEFAULT_FROM - Static variable in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Sender used when none is configured.
- deliverCode(OttChannel, String, String, Duration) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
- deliverLink(OttChannel, String, URI, Duration) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
E
- emailOttDelivery(JavaMailSender, MailProperties) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Creates the e-mail one-time token delivery.
- encode(String) - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Encodes a value for a query parameter.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Indicates whether some other object is "equal to" this one.
F
- FAILURE_MESSAGE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Generic message of every delivery failure.
- from - Variable in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
The field for the
fromrecord component. - from() - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Returns the value of the
fromrecord component.
H
- hashCode() - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Returns a hash code value for this object.
- HTML_EXTENSION - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Extension of the HTML templates.
L
- LINK_SUBJECT - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Message key of the subject of the link message.
- LINK_TEMPLATE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Template of the link message (without extension).
- LINK_VARIABLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Template variable holding the link.
- locale - Variable in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
The field for the
localerecord component. - locale() - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Returns the value of the
localerecord component.
M
- MailConfiguration - Class in com.irurueta.authserver.authorization.infrastructure.mail
-
Wires the SMTP implementation of
AccountMailer. - MailConfiguration() - Constructor for class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
- mailMessages() - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Builds the message source of the mailer.
- MailProperties - Record Class in com.irurueta.authserver.authorization.infrastructure.mail
-
Settings of the e-mails sent by
SmtpAccountMailer. - MailProperties(String, String, Locale) - Constructor for record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Applies the defaults of the missing values and removes a trailing slash of the base URL.
- mailSender - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Sends the messages.
- mailSender - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Sends the messages.
- messageSource - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Source of the subjects and bodies.
- messageSource - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Source of the subjects.
- minutes(Duration) - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Rounds a duration up to whole minutes, at least one.
O
- OTT_BUNDLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Base name of the message bundle of the one-time token e-mails.
- ottMessages() - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Builds the message source of the one-time token e-mails.
- ottTemplateEngine(MessageSource) - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Builds the private Thymeleaf engine of the one-time token e-mails: HTML mode for
mail/*.html, text mode formail/*.txt, both from the classpath.
P
- properties - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Sender, base URL and locale.
- properties - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Sender, base URL and locale.
R
- requireEmail(OttChannel) - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Refuses a channel other than e-mail.
- RESET - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Message key prefix of the reset message.
- RESET_PATH - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Path of the page that lets the user choose a new secret.
- resolver(String, TemplateMode, int) - Static method in class com.irurueta.authserver.authorization.infrastructure.mail.MailConfiguration
-
Builds a classpath resolver for the templates matching a pattern.
S
- SECONDS_PER_MINUTE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Seconds in a minute.
- send(String, String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Builds and sends one message.
- send(String, String, String, String, String, Duration) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Renders and sends one message.
- sendAlreadyRegistered(String) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
- sendEmailVerification(String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
- sendPasswordReset(String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
- SmtpAccountMailer - Class in com.irurueta.authserver.authorization.infrastructure.mail
-
AccountMailerthat sends plain-text messages through SMTP. - SmtpAccountMailer() - Constructor for class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
T
- templateEngine - Variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Renders the templates; private to this mailer.
- TEXT_EXTENSION - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Extension of the plain-text templates.
- ThymeleafOttMailer - Class in com.irurueta.authserver.authorization.infrastructure.mail
-
OttDeliverythat e-mails one-time codes and magic links as multipart messages (plain text and HTML) rendered with Thymeleaf. - ThymeleafOttMailer() - Constructor for class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
- toString() - Method in record class com.irurueta.authserver.authorization.infrastructure.mail.MailProperties
-
Returns a string representation of this record class.
V
- VALID_MINUTES_VARIABLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.ThymeleafOttMailer
-
Template variable holding the validity in minutes.
- VERIFICATION - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Message key prefix of the e-mail verification message.
- VERIFY_PATH - Static variable in class com.irurueta.authserver.authorization.infrastructure.mail.SmtpAccountMailer
-
Path of the verification endpoint.
All Classes and Interfaces|All Packages|Constant Field Values