[TYRUS-209] ServerEndpointConfig.Configurator#checkOrigin HTTP status code Created: 03/Jul/13  Updated: 08/Jul/13  Resolved: 08/Jul/13

Status: Resolved
Project: tyrus
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Bug Priority: Major
Reporter: jitu Assignee: Pavel Bucek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


If an application's configurator returns false for ServerEndpointConfig.Configurator#checkOrigin(), shouldn't the tyrus send 403 status code to client ?

RFC says "If the server does
not validate the origin, it will accept connections from
anywhere. If the server does not wish to accept this
connection, it MUST return an appropriate HTTP error code
(e.g., 403 Forbidden) and abort the WebSocket handshake
described in this section."

Comment by Pavel Bucek [ 08/Jul/13 ]

fixed in the trunk

Generated at Sat Jul 12 11:43:09 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.