In the description of setupSecurityContext , we have the following erroneous line:
"The serviceSubject argument must be non-null and it must not be read-only."
In the spec, and in the same method's 'serviceSubject' parameter javadoc, we talk about serviceSubject being nullable. The correct statement must be
"The serviceSubject argument may be null, and when not null it must not be read-only."