public class GroupGrantee extends Object implements GranteeInterface
AccessControlList
Modifier and Type | Field and Description |
---|---|
static GroupGrantee |
ALL_USERS
匿名用户组,代表所有用户
|
static GroupGrantee |
AUTHENTICATED_USERS
Deprecated.
|
static GroupGrantee |
LOG_DELIVERY
日志投递用户组,一般用户配置访问日志
|
Constructor and Description |
---|
GroupGrantee() |
GroupGrantee(GroupGranteeEnum groupGranteeType) |
GroupGrantee(String uri)
构造函数
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GroupGranteeEnum |
getGroupGranteeType()
获取被授权用户组的类型
|
String |
getIdentifier()
获取代表被授权用户组的URI
|
int |
hashCode() |
void |
setIdentifier(String uri)
设置代表被授权用户组的URI
|
String |
toString()
返回对象描述信息
|
public static final GroupGrantee ALL_USERS
@Deprecated public static final GroupGrantee AUTHENTICATED_USERS
public static final GroupGrantee LOG_DELIVERY
public GroupGrantee()
public GroupGrantee(String uri)
uri
- 代表被授权用户组的URIpublic GroupGrantee(GroupGranteeEnum groupGranteeType)
public void setIdentifier(String uri)
setIdentifier
in interface GranteeInterface
uri
- 代表被授权用户组的URIpublic String getIdentifier()
getIdentifier
in interface GranteeInterface
public GroupGranteeEnum getGroupGranteeType()
Copyright © 2021. All rights reserved.