mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
corrected example
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2590 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
d7af7570b9
commit
778a161f1d
@ -90,18 +90,18 @@
|
||||
<p>If an entity attempts to connect but the maximum number of connections has been reached, the receiving server MUST NOT allow the new connection to proceed. There are no XMPP errors associated with this behavior, since it occurs at the binding (TCP or HTTP) level before an XML stream is initiated.</p>
|
||||
</section2>
|
||||
<section2 topic='Unauthenticated Connections' anchor='rec-auth'>
|
||||
<p>In accordance with <cite>RFC 3920</cite>, a server MUST NOT process XML stanzas from clients that have not provided appropriate authentication credentials, and MUST NOT process XML stanzas from peer servers whose identity it has not either authenticated via SASL (see &rfc4422;) or verified via server dialback.</p>
|
||||
<p>In accordance with <cite>RFC 3920</cite>, a server MUST NOT process XML stanzas (i.e., &MESSAGE;, &PRESENCE;, or &IQ;) from clients that have not provided appropriate authentication credentials, and MUST NOT process XML stanzas from peer servers whose identity it has not either authenticated via SASL (see &rfc4422;) or verified via server dialback.</p>
|
||||
</section2>
|
||||
<section2 topic='Simultaneous Resources' anchor='rec-resources'>
|
||||
<p>A server implementation SHOULD enable a server administrator to limit the number of resources it will allow an account to bind at any one time.</p>
|
||||
<p>If a connected client attempts to bind a resource but has already reached the configured number of allowable resources, the receiving server MUST return a ¬allowed; stanza error, which in turn SHOULD include an application-specific error condition of <resource-limit-exceeded/>, as shown in the following example:</p>
|
||||
<p>If a connected client attempts to bind a resource but has already reached the configured number of allowable resources, the receiving server MUST return a &constraint; stanza error, which in turn SHOULD include an application-specific error condition of <resource-limit-exceeded/>, as shown in the following example:</p>
|
||||
<example caption='Resource number limit violation'><![CDATA[
|
||||
<iq type='error' id='bind_2'>
|
||||
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
|
||||
<resource>someresource</resource>
|
||||
</bind>
|
||||
<error type='modify'>
|
||||
<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||
<error type='cancel'>
|
||||
<resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||
<resource-limit-exceeded xmlns='http://jabber.org/protocol/errors'/>
|
||||
</error>
|
||||
</iq>
|
||||
|
Loading…
Reference in New Issue
Block a user