[JBoss JIRA] (WFLY-11818) wildfly-16.0.0.Final: "From address" is no more used as default from in email
by jaikiran pai (Jira)
[ https://issues.jboss.org/browse/WFLY-11818?page=com.atlassian.jira.plugin... ]
jaikiran pai commented on WFLY-11818:
-------------------------------------
The reason I asked about Java version is because that in recent versions of Java a change was done to not allow overriding the value of certain system properties after the JVM has booted. I don't know exactly how/where this user.name might have been set for the mail configuration and whether or not this is playing a role, but since you say you are using Java 11, it's possible that this is at play. Can you try Java 8 maybe and see if that changes anything?
> wildfly-16.0.0.Final: "From address" is no more used as default from in email
> -----------------------------------------------------------------------------
>
> Key: WFLY-11818
> URL: https://issues.jboss.org/browse/WFLY-11818
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 16.0.0.Final
> Environment: mvn -v
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
> Maven home: /apps/apache-maven-3.6.0
> Java version: 11.0.2, vendor: Oracle Corporation, runtime: /usr/java/jdk-11.0.2
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "4.12.14-lp150.12.48-default", arch: "amd64", family: "unix"
> Reporter: Wolfgang Mayer
> Assignee: Tomaz Cerar
> Priority: Major
>
> As mentioned in the Help (description) of 'Mail Session' configuration:
> From: *From address that is used as default from, if not set when sending*
> Apparently this is not the case anymore in wildfly-16.0.0.Final.
> For example I made a test with quickstart-16.0/mail/.
> When omitting the line
> *message.setFrom(new InternetAddress(from));*
> Sending mail fails with:
> com.sun.mail.smtp.SMTPSendFailedException: 554-Transaction failed
> 554 Unauthorized sender address.
> I have the same issue when replacing the line above with
> message.setFrom(new InternetAddress());
> I am pretty sure that this is working in wildfly-15
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (ELY-1765) Review authentication client dependencies on credential sources
by Darran Lofthouse (Jira)
Darran Lofthouse created ELY-1765:
-------------------------------------
Summary: Review authentication client dependencies on credential sources
Key: ELY-1765
URL: https://issues.jboss.org/browse/ELY-1765
Project: WildFly Elytron
Issue Type: Task
Components: Authentication Client
Reporter: Darran Lofthouse
Fix For: 1.9.0.CR1
Could these credential sources be discoverable from java.security.Provider with a more generic configuration API? This could help break any dependency from authentication client to the implementation.
_In the opposite direction I think it is Ok for the impl to depend on the client._
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (ELY-1764) Get all Provider implementations moved to their own module.
by Darran Lofthouse (Jira)
Darran Lofthouse created ELY-1764:
-------------------------------------
Summary: Get all Provider implementations moved to their own module.
Key: ELY-1764
URL: https://issues.jboss.org/browse/ELY-1764
Project: WildFly Elytron
Issue Type: Task
Reporter: Darran Lofthouse
Generally it was the authentication client and it's XML parser that needed to be able to load all Elytron Providers so we hard coded Provider resolution.
We have a couple of alternative options: -
# Hard code the class names in the authentication client and attempt to load 'best efforts'
# Load using ServiceLoader discovery but sort them into the correct position.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (WFLY-11818) wildfly-16.0.0.Final: "From address" is no more used as default from in email
by Wolfgang Mayer (Jira)
[ https://issues.jboss.org/browse/WFLY-11818?page=com.atlassian.jira.plugin... ]
Wolfgang Mayer commented on WFLY-11818:
---------------------------------------
I've now tested my application in WildFly 15 again and it seems it is not working anymore either.
So it could also be this was never working and it now causing a problem because of some changes in my environment (email provider, java version etc).
But then again my question: why is the "from address" from the configuration not used as default?
Or did I misunderstand anything?
> wildfly-16.0.0.Final: "From address" is no more used as default from in email
> -----------------------------------------------------------------------------
>
> Key: WFLY-11818
> URL: https://issues.jboss.org/browse/WFLY-11818
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 16.0.0.Final
> Environment: mvn -v
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
> Maven home: /apps/apache-maven-3.6.0
> Java version: 11.0.2, vendor: Oracle Corporation, runtime: /usr/java/jdk-11.0.2
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "4.12.14-lp150.12.48-default", arch: "amd64", family: "unix"
> Reporter: Wolfgang Mayer
> Assignee: Tomaz Cerar
> Priority: Major
>
> As mentioned in the Help (description) of 'Mail Session' configuration:
> From: *From address that is used as default from, if not set when sending*
> Apparently this is not the case anymore in wildfly-16.0.0.Final.
> For example I made a test with quickstart-16.0/mail/.
> When omitting the line
> *message.setFrom(new InternetAddress(from));*
> Sending mail fails with:
> com.sun.mail.smtp.SMTPSendFailedException: 554-Transaction failed
> 554 Unauthorized sender address.
> I have the same issue when replacing the line above with
> message.setFrom(new InternetAddress());
> I am pretty sure that this is working in wildfly-15
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months