public class Principal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
EventType
,
ExperimenterGroup
,
Permissions
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.lang.String |
group |
protected java.lang.String |
name |
protected java.lang.String |
type |
Constructor and Description |
---|
Principal(java.lang.String name)
Creates a Principal with null group and event type.
|
Principal(java.lang.String name,
java.lang.String group,
java.lang.String eventType) |
Modifier and Type | Method and 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 of
Principal implementations |
protected java.lang.String name
protected java.lang.String group
protected java.lang.String type
public Principal(java.lang.String name)
name
- public Principal(java.lang.String name, java.lang.String group, java.lang.String eventType)
public java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String getGroup()
public java.lang.String getEventType()
public java.lang.String toString()
Principal
implementationstoString
in interface java.security.Principal
toString
in class java.lang.Object
name
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.