Package ome.system
Class Principal
- java.lang.Object
-
- ome.system.Principal
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Principal
public class Principal extends java.lang.Object implements java.security.Principal, java.io.Serializable
implementation ofPrincipal
. Specialized for Omero to carry agroup
, anevent type
and aumask
.- Since:
- 3.0
- See Also:
EventType
,ExperimenterGroup
,Permissions
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEventType()
java.lang.String
getGroup()
java.lang.String
getName()
java.lang.String
toString()
returns only the name of the instance because that is the expected behavior ofPrincipal
implementations
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacejava.security.Principal
-
getGroup
public java.lang.String getGroup()
-
getEventType
public java.lang.String getEventType()
-
toString
public java.lang.String toString()
returns only the name of the instance because that is the expected behavior ofPrincipal
implementations- Specified by:
toString
in interfacejava.security.Principal
- Overrides:
toString
in classjava.lang.Object
- Returns:
- value of
name
-
-