public void setSecurityContext(final SecurityContext sc) {

		if (securityContext == null) {

			if (sc.isSuperUserSecurityContext() == Boolean.FALSE) {

				securityContext = sc;
			}
		}
	}
public void setSecurityContext ( final SecurityContext sc ) { if ( securityContext == null ) { if ( sc . isSuperUserSecurityContext ( ) == Boolean . FALSE ) { securityContext = sc ; } } }
Allow setting the securityContext if it was null.
Important for Login transactions.
@param sc