Package com.spotfire.server.userdir
Interface SpotfirePrincipal
- All Superinterfaces:
Principal
,Serializable
- All Known Subinterfaces:
GroupPrincipal
,UserPrincipal
This interface represents a principal, such as a user or a
group. Every principal is characterized by a GUID and a name. The
guid is unique for each principal, regardless of type of
principal. The name is also unique, but only for principals of the
same type.
Also, when a user is removed and a new user is later added with the same name, the GUID will differ between the users. Therefore the GUID should always be used as an identifier for a principal, not the name.
- Since:
- 3.0
-
Method Summary
-
Method Details
-
getGuid
Guid getGuid()- Returns:
- The GUID identifying the principal.
- Since:
- 3.0
-