@Override
    public StreamID createStreamID() {
        return new BasicStreamID(new BigInteger( MAX_STRING_SIZE * 5, random ).toString( 36 ));
    }
The random number to use, someone with Java can predict stream IDs if they can guess the current seed
xmppserver/src/main/java/org/jivesoftware/openfire/spi/BasicStreamIDFactory.java