nee-security-jdbc / pl.setblack.nee.security / DBUserRealm

DBUserRealm

class DBUserRealm : UserRealm<User, UserRole>

Security realm with classic User and Roles tables.

Constructors

<init>

Security realm with classic User and Roles tables.

DBUserRealm(dbProvider: JDBCProvider)

Functions

hasRole

fun hasRole(user: User, role: UserRole): Boolean

loginUser

fun loginUser(userLogin: String, password: CharArray): Option<User>

Companion Object Properties

passwordHasher

val passwordHasher: PBKDF2Hasher