Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11412

Re: Protection against forged IQ

$
0
0

Yes it's done this way. See ClientStanzaHandler.java:


@Override

    protected void processIQ(IQ packet) throws UnauthorizedException {

    // Overwrite the FROM attribute to avoid spoofing
    packet.setFrom(session.getAddress());
    super.processIQ(packet);

}

Viewing all articles
Browse latest Browse all 11412

Trending Articles