public class AccessType extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static AccessType |
ALL |
static String |
GROUP_ACCESS_TYPE |
static AccessType |
ME |
static AccessType |
MY_GROUPS
Deprecated.
|
static AccessType |
PROVIDER
Deprecated.
|
static AccessType |
PROVIDER_GROUPS
Deprecated.
|
static String |
TENANT_ACCESS_TYPE |
static String |
TOKEN_ACCESS_TYPE |
static String |
USER_ACCESS_TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two AccessType objects
|
Set<? extends IdentityPrincipal> |
getIdentityPrincipals(Client client)
Returns a set of identity principals for the specified user depending
on the node source access type.
|
String[] |
getTokens()
Gets the list of tokens if the following syntax was used tokens=t1,t2.
|
int |
hashCode() |
String |
toString() |
static AccessType |
valueOf(String type)
Parses a string representation of access type.
|
public static final String USER_ACCESS_TYPE
public static final String GROUP_ACCESS_TYPE
public static final String TOKEN_ACCESS_TYPE
public static final String TENANT_ACCESS_TYPE
public static final AccessType ME
@Deprecated public static final AccessType MY_GROUPS
@Deprecated public static final AccessType PROVIDER
@Deprecated public static final AccessType PROVIDER_GROUPS
public static final AccessType ALL
public static AccessType valueOf(String type)
type
- to parseIllegalArgumentException
- if the syntax is incorrectpublic String[] getTokens()
public Set<? extends IdentityPrincipal> getIdentityPrincipals(Client client)