6966259: Make PrincipalName and Realm immutable
Reviewed-by: xuelei
48 files changed