Login using the specified user, password to the realm. If login fails, the method throws SecurityException.paramuser the remote userparampassword the password for remote userparamrealm the realm to authenticate against