Packages

package rbac

Type Members

  1. trait SecureController[RequestType, UserType <: User] extends AnyRef

    Provides utility methods for managing authentication and authorization in REST controllers.

    Provides utility methods for managing authentication and authorization in REST controllers.

    RequestType

    Type of request handled by controller

    UserType

    Subtype of User

    Examples:
    1. class MyScalatraServlet extends ScalatraServlet with SecureController[ HttpServletRequest ]

    2. ,
    3. class SecureAbstractController @Inject() ( cc: ControllerComponents ) extends AbstractController( cc ) with SecureController[ Request[ AnyContent ] ]

Ungrouped