Identity identification of the individual on whose behalf the code is being run. represents the identity of the individual user related to this security context. Principal represents an individual or an agent who acts as a user. Principal object encapsulates an Identity object and a Role object. represents the security context used for the execution of the code,