Code example for Principal

Methods: getClass, getName