Return not-authorized error when user tries to bind a resource before authenticating

Description

2007.07.06 10:12:40 [org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:68)] Internal server error
java.lang.NullPointerException
at org.jivesoftware.openfire.handler.IQBindHandler.handleIQ(IQBindHandler.java:91)
at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:48)
at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:295)
at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:101)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:99)
at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:61)

<not-authorized/> – the entity has attempted to send data before the stream has been authenticated, or otherwise is not authorized to perform an action related to stream negotiation; the receiving entity MUST NOT process the offending stanza before sending the stream error.

Environment

None
Fixed

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak