Trait

razie.audit

AuditService

Related Doc: package audit

Permalink

trait AuditService extends Auditor with Logging

fairly generic website audit service.

many operations are audited - this is strait in the log files, as well as the logdb() audit facility. Audited events are supposed to end up somewhere special or even notify someone etc

in my RK, I simply log them in a database, for review - you could do the same or ignore them

there's a Audit default implementation here somehwer

Linear Supertypes
Logging, Auditor, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuditService
  2. Logging
  3. Auditor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class cdebug extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()
  2. class clog extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()

Abstract Value Members

  1. abstract def logdb(what: String, details: Any*): String

    Permalink

    log a db operation - this method you need to provide

    log a db operation - this method you need to provide

    Definition Classes
    Auditor
  2. abstract def logdbWithLink(what: String, link: String, details: Any*): String

    Permalink

    log a db operation with a link to the thing being audited

    log a db operation with a link to the thing being audited

    Definition Classes
    Auditor

Concrete 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. final val ENTITY_CREATE: String("ENTITY_CREATE")

    Permalink
  5. final val ENTITY_DELETE: String("ENTITY_DELETE")

    Permalink
  6. final val ENTITY_UPDATE: String("ENTITY_UPDATE")

    Permalink
  7. final val ERR_AUTHREQUIRED: String("ERR_AUTHREQUIRED")

    Permalink
  8. final val ERR_FAILEDWIKIEDIT: String("ERR_FAILEDWIKIEDIT")

    Permalink
  9. final val ERR_NO_SUCH_USER: String("ERR_NO_SUCH_USER")

    Permalink
  10. final val ERR_UNAUTHORIZED: String("ERR_UNAUTHORIZED")

    Permalink
  11. final val REGD_EMAIL: String("INFO_REGD_EMAIL")

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def audit(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  14. def audit(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  15. def auth(details: String): Unit

    Permalink
  16. def cdebug: cdebug

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  17. def clog: clog

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def create[T](entity: T): T

    Permalink

    audit creation of an entity

  20. def createnoaudit[T](entity: T): T

    Permalink
  21. def debug(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  22. def debug(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  23. def delete[T](entity: T): T

    Permalink

    audit delete of an entity

  24. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def error(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  27. def error(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  28. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def info(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  32. def info(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def log(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  35. def log(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  36. val logger: Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def missingPage(url: String): Unit

    Permalink
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def newlog(s: String): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  40. def newlog(clazz: Class[_]): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. def regdemail(email: String): Unit

    Permalink
  44. def security(what: String, details: Any*): String

    Permalink

    audit a security issue

  45. def slf4j: Logger

    Permalink

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    Printf rules!

    Attributes
    protected
    Definition Classes
    Logging
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def tee(message: ⇒ String): String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. def trace(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  50. def trace(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  51. def unauthorized(details: String): Unit

    Permalink
  52. def update[T](entity: T): T

    Permalink

    audit update of an entity

  53. def updatenoaudit[T](entity: T): T

    Permalink
  54. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def warn(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  58. def warn(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  59. def wikiFailedEdit(user: String, cat: String, name: String): Unit

    Permalink
  60. def wrongLogin(email: String, pwd: String): Unit

    Permalink

Inherited from Logging

Inherited from Auditor

Inherited from AnyRef

Inherited from Any

Ungrouped