Java Client: Simple authentication serverEdit online This demonstrates how to set security permissions when connection attempts are made on the realm. Application Source Code Click here for a code example