Class AceEntry
- java.lang.Object
-
- com.linkedin.venice.authorization.AceEntry
-
public class AceEntry extends java.lang.Object
Represents an Access Control Entry.Permission
will be enforced whenPrincipal
performsMethod
. This is an immutable class.
-
-
Constructor Summary
Constructors Constructor Description AceEntry(Principal principal, Method method, Permission permission)
Creates an Access Control entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Method
getMethod()
Permission
getPermission()
Principal
getPrincipal()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AceEntry
public AceEntry(Principal principal, Method method, Permission permission)
Creates an Access Control entry- Parameters:
principal
-Principal
the actor.method
-Method
the method.permission
-Permission
the permission.
-
-
Method Detail
-
getPrincipal
public Principal getPrincipal()
-
getMethod
public Method getMethod()
-
getPermission
public Permission getPermission()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-