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

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 6, 2007 at 11:51 PM
Updated July 6, 2007 at 11:51 PM
Resolved July 6, 2007 at 11:51 PM