Trait/Object

net.liftmodules.salatauth

Locs

Related Docs: object Locs | package salatauth

Permalink

trait Locs extends AnyRef

This trait contains different LocParams related to permission control.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Locs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def HasAnyPermission(permissions: Permission*): If

    Permalink

    Allows access if current user has any of requested permissions.

  5. def HasPermission(permission: Permission): If

    Permalink

    Allows access if current user has requested permission.

  6. def HasRole(role: String): If

    Permalink

    Allows access if current user has requested role.

  7. def RedirectToIndex: RedirectResponse

    Permalink

    Redirects to index page.

  8. def RedirectToIndexWithCookies: RedirectResponse

    Permalink

    Redirects to index page with cookies.

  9. def RedirectToLoginWithReferrer: RedirectWithState

    Permalink

    Redirects to login page saving requested uri in LoginRedirect variable

  10. def RedirectWithError(message: String): () ⇒ RedirectWithState

    Permalink

    Redirects to index page and show error message.

    Redirects to index page and show error message.

    message

    message to be passed to S.error

  11. def RequireAuthenticated: If

    Permalink

    Allows access only if user authenticated.

  12. def RequireLoggedIn: If

    Permalink

    Allows access if the user is logged in.

  13. def RequireNotLoggedIn: If

    Permalink

    Allows access if user is not logged in.

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def buildLogin(text: String, params: List[LocParam[Unit]]): Menu

    Permalink

    Creates login menu item.

    Creates login menu item.

    For example you can add to sitemap:

    val login = buildLogin("login", RequireNotLoggedIn :: Nil)
    text

    localizable string to be set as menu item name.

    params

    menu loc parameters.

  16. def buildLogout(text: String, params: List[LocParam[Unit]]): Menu

    Permalink

    Creates logout menu item.

    Creates logout menu item.

    text

    localizable string to be set as menu item name.

    params

    menu loc parameters.

  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def logoutLocParams: List[Product with Serializable with LocParam[Any]]

    Permalink

    Provides a list of LocParam required to create logout menu item.

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped