# Class LLSecurityContext

java.lang.Object
com.io7m.looseleaf.security.LLSecurityContext

public final class LLSecurityContext extends Object
The context required to make security decisions.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final class`
  `LLSecurityContext.Builder`
  A mutable security context builder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LLSecurityContext.Builder`
  `builder()`
  `Map<LLRoleName,LLRole>`
  `roles()`
  `Map<LLUserName,LLUser>`
  `users()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### builder

    public static LLSecurityContext.Builder builder()
    Returns:
      A new builder for an empty context

  - ### roles

    public Map<LLRoleName,LLRole> roles()
    Returns:
      The set of roles

  - ### users

    public Map<LLUserName,LLUser> users()
    Returns:
      The set of users