mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VYSPER-92) Stanzas don't get enriched with a "from" Attribute when the client omits it.
Date Sun, 05 Jul 2009 12:42:14 GMT

    [ https://issues.apache.org/jira/browse/VYSPER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727324#action_12727324
] 

Bernd Fondermann commented on VYSPER-92:
----------------------------------------

Stanza and XMLElement are immutable objects. This is good and should not
change. The same reasons why you cannot change a java.lang.String
instance apply here.




> Stanzas don't get enriched with a "from" Attribute when the client omits it.
> ----------------------------------------------------------------------------
>
>                 Key: VYSPER-92
>                 URL: https://issues.apache.org/jira/browse/VYSPER-92
>             Project: VYSPER
>          Issue Type: Bug
>          Components: core protocol
>            Reporter: Michael Jakl
>            Assignee: Bernd Fondermann
>
> RFC3920 9.1.2:
> When a server receives an XML stanza within the context of an authenticated stream qualified
by the 'jabber:client' namespace, it MUST do one of the following:
>    1. validate that the value of the 'from' attribute provided by the client is that
of a connected resource for the associated entity
>    2. add a 'from' address to the stanza whose value is the bare JID (<node@domain>)
or the full JID (<node@domain/resource>) determined by the server for the connected
resource that generated the stanza (see Determination of Addresses).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message