Id

com.loopfor.zookeeper.Id
See theId companion object
sealed trait Id

An ''identity'' associated with an ACL.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BaseId
object AuthId.type
class DigestId
class HostId
class IpId
object WorldId.type

Members list

Concise view

Value members

Abstract methods

def id: String

Returns the id.

Returns the id.

Attributes

Returns:

a string representing the id

Returns the scheme.

Returns the scheme.

Attributes

Returns:

a string representing the scheme

Concrete methods

def permit(permission: Int): ACL

Returns an ACL for this identity using the given permission.

Returns an ACL for this identity using the given permission.

Attributes

permission

the bitwise union of permission that apply to the ACL

Returns:

an ACL with the given permission