rightAngleBracket
s/wasSuccessfully/wasSuccessful/
Don't send initial presence in resumed case
Remove assert
Shorten conditions
Use SecurityRequiredException