Package com.sas.lsaf.security.principal
Interface Principal
- All Superinterfaces:
Identifiable,Serializable
- All Known Implementing Classes:
AclMembers,AclOwner,Group,GroupDescriptor,User,UserDescriptor
A principal is either a user or a group that is defined in the system.
- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the principal identifier of a user or group.Returns the principal name of a user or group.inthashCode()Methods inherited from interface com.sas.lsaf.core.Identifiable
getId, getTypeId
-
Method Details
-
getPrincipalId
String getPrincipalId()Returns the principal identifier of a user or group. This uniquely identifies the principal within the system.- Returns:
- The principal identifier of a user or group.
-
getPrincipalName
String getPrincipalName()Returns the principal name of a user or group. This may not uniquely identify the principal and should only be used for display purposes.- Returns:
- The principal name of a user or group.
-
hashCode
int hashCode() -
equals
-