Implements the admin mailer.
More...
|
JavaMailSender | getMailSender () |
| Creates a mail sender to be used.
|
|
Implements the admin mailer.
- Author
- anders
◆ getDefaultEncoding()
String eu.baltrad.beast.security.mail.AdminMailer.getDefaultEncoding |
( |
| ) |
|
|
inline |
◆ getFrom()
String eu.baltrad.beast.security.mail.AdminMailer.getFrom |
( |
| ) |
|
|
inline |
◆ getHost()
String eu.baltrad.beast.security.mail.AdminMailer.getHost |
( |
| ) |
|
|
inline |
- Returns
- the mail server host address
◆ getMailSender()
JavaMailSender eu.baltrad.beast.security.mail.AdminMailer.getMailSender |
( |
| ) |
|
|
inlineprotected |
Creates a mail sender to be used.
- Returns
- the mail sender
◆ getPassword()
String eu.baltrad.beast.security.mail.AdminMailer.getPassword |
( |
| ) |
|
|
inline |
- Returns
- password on mail server
◆ getPort()
int eu.baltrad.beast.security.mail.AdminMailer.getPort |
( |
| ) |
|
|
inline |
- Returns
- port of the mail server
◆ getProperties()
Map< String, String > eu.baltrad.beast.security.mail.AdminMailer.getProperties |
( |
| ) |
|
|
inline |
- Returns
- properties used when establishing connection with mail server
◆ getUsername()
String eu.baltrad.beast.security.mail.AdminMailer.getUsername |
( |
| ) |
|
|
inline |
- Returns
- username on mail server
◆ isEnabled()
boolean eu.baltrad.beast.security.mail.AdminMailer.isEnabled |
( |
| ) |
|
|
inline |
◆ sendKeyApprovalRequest()
void eu.baltrad.beast.security.mail.AdminMailer.sendKeyApprovalRequest |
( |
String | to, |
|
|
String | subject, |
|
|
String | uri, |
|
|
String | message, |
|
|
AuthorizationRequest | request ) |
|
inline |
Send a mail with a key approval request.
- Parameters
-
to | destination email address |
subject | the subject of the email |
message | an arbitrary message @request the actual request providing content in the email |
Implements eu.baltrad.beast.security.mail.IAdminMailer.
◆ setDefaultEncoding()
void eu.baltrad.beast.security.mail.AdminMailer.setDefaultEncoding |
( |
String | defaultEncoding | ) |
|
|
inline |
- Parameters
-
defaultEncoding | the default encoding |
◆ setEnabled()
void eu.baltrad.beast.security.mail.AdminMailer.setEnabled |
( |
boolean | enabled | ) |
|
|
inline |
- Parameters
-
enabled | the enabled to set |
◆ setFrom()
void eu.baltrad.beast.security.mail.AdminMailer.setFrom |
( |
String | from | ) |
|
|
inline |
◆ setHost()
void eu.baltrad.beast.security.mail.AdminMailer.setHost |
( |
String | host | ) |
|
|
inline |
- Parameters
-
host | the mail server host address |
◆ setJavaMailSender()
void eu.baltrad.beast.security.mail.AdminMailer.setJavaMailSender |
( |
JavaMailSender | sender | ) |
|
|
inline |
Sets the mail sender.
- Parameters
-
◆ setPassword()
void eu.baltrad.beast.security.mail.AdminMailer.setPassword |
( |
String | password | ) |
|
|
inline |
◆ setPort()
void eu.baltrad.beast.security.mail.AdminMailer.setPort |
( |
int | port | ) |
|
|
inline |
◆ setProperties()
void eu.baltrad.beast.security.mail.AdminMailer.setProperties |
( |
Map< String, String > | properties | ) |
|
|
inline |
- Parameters
-
properties | used when establishing connection with mail server |
◆ setUsername()
void eu.baltrad.beast.security.mail.AdminMailer.setUsername |
( |
String | username | ) |
|
|
inline |
- Parameters
-
username | username on mail server |
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/security/mail/AdminMailer.java