public class ServiceAuthority extends Object implements InternalAuthority
Modifier and Type | Class and Description |
---|---|
static class |
ServiceAuthority.ServiceFilter |
static class |
ServiceAuthority.ServicePrivilege
Defines service privileges
|
Constructor and Description |
---|
ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege) |
ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege,
ServiceAuthority.ServiceFilter filter)
An authority with the specified privilege.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthority()
An
Authority that can be represented as a String which is
sufficient in precision to be relied upon for an access control decisions. |
ServiceAuthority.ServiceFilter |
getFilter() |
Privilege |
getPrivilege()
A granted privilege associated with this Authority.
|
int |
hashCode() |
String |
toString() |
static ServiceAuthority |
valueOf(String authority) |
public ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege)
public ServiceAuthority(ServiceAuthority.ServicePrivilege servicePrivilege, ServiceAuthority.ServiceFilter filter)
servicePrivilege
- granted privilegefilter
- a filter on the specified privilege.public static ServiceAuthority valueOf(String authority)
public String getAuthority()
Authority
Authority
that can be represented as a String
which is
sufficient in precision to be relied upon for an access control decisions.getAuthority
in interface Authority
String
with
sufficient precision).public Privilege getPrivilege()
InternalAuthority
getPrivilege
in interface InternalAuthority
public ServiceAuthority.ServiceFilter getFilter()
Copyright © GigaSpaces.