Package org.infinispan.security
Class CachePermission
- java.lang.Object
-
- java.security.Permission
-
- org.infinispan.security.CachePermission
-
- All Implemented Interfaces:
Serializable
,Guard
public final class CachePermission extends Permission
CachePermission.- Since:
- 7.0
- Author:
- Tristan Tarrant
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CachePermission(String name)
CachePermission(AuthorizationPermission perm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getActions()
AuthorizationPermission
getAuthorizationPermission()
int
hashCode()
boolean
implies(Permission permission)
PermissionCollection
newPermissionCollection()
-
-
-
Constructor Detail
-
CachePermission
public CachePermission(String name)
-
CachePermission
public CachePermission(AuthorizationPermission perm)
-
-
Method Detail
-
implies
public boolean implies(Permission permission)
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
getActions
public String getActions()
-
newPermissionCollection
public PermissionCollection newPermissionCollection()
-
getAuthorizationPermission
public AuthorizationPermission getAuthorizationPermission()
-
-