Interface ServiceAccount
- All Superinterfaces:
Principal
- All Known Implementing Classes:
ServiceAccountImpl
Represents a service account
- Since:
- 7.0.0
-
Method Details
-
getId
Long getId()- Returns:
- the ID of the service account.
-
isActive
boolean isActive()- Returns:
- whether the service account is active.
-
getDisplayName
String getDisplayName()- Returns:
- the name that will be displayed
-
getDescription
String getDescription()- Returns:
- the description of the service account
-
getResourceRestrictions
Map<ResourceType,Set<Resource>> getResourceRestrictions()Defines the resource restrictions for this service account.- Returns:
- restrictions on resource endpoints
-