object ACL extends Serializable

Constructs and deconstructs ACL values.

The permissions assigned to an ACL are constructed by performing a bitwise union of individual permission attributes: Read, Write, Create, Delete, Admin. In addition, the All permission encompasses all of these attributes.

Several commonly used ACL values have been predefined for sake of convenience: AnyoneAll, AnyoneRead, CreatorAll.

See also

ACLs

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ACL
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Admin: Int

    A permission to perform administrative functions.

  5. val All: Int

    A composition of all permissions.

    A composition of all permissions.

    This is equivalent to the bitwise union of the following permissions:

    Read | Write | Create | Delete | Admin
  6. val AnyoneAll: Seq[ACL]

    An ACL in which Anyone is granted All permissions.

  7. val AnyoneRead: Seq[ACL]

    An ACL in which Anyone is granted Read permission only.

  8. val Create: Int

    A permission to create.

  9. val CreatorAll: Seq[ACL]

    An ACL in which the Creator is granted All permissions.

  10. val Delete: Int

    A permission to delete.

  11. val Read: Int

    A permission to read.

  12. val Write: Int

    A permission to write.

  13. def apply(s: String): ACL

    Constructs a new ACL from the input string s.

    Constructs a new ACL from the input string s.

    s

    a string representing the ACL

    returns

    the ACL in s if it conforms to the specific syntax

    Exceptions thrown

    IllegalArgumentException if s does not conform to the proper syntax

    See also

    parse

  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def parse(s: String): Try[ACL]

    Parses the ACL in the input string s.

    Parses the ACL in the input string s.

    The syntax of s is "scheme:id=[rwcda*]", where the following apply:

    • the : delimiter may be omitted if id is not required
    • rwcda* may be repeated zero or more times
    s

    a string representing the ACL

    returns

    a Success containing the ACL in s if it conforms to the proper syntax, otherwise a Failure containing the offending exception

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped