Package-level declarations

Types

Link copied to clipboard
interface PermissionRole
Link copied to clipboard
data class Principal(val userId: String, val username: String?, val displayName: String, val roles: List<String>) : Comparable<Principal>
Link copied to clipboard
data class ServerConfiguration(val security: String = "oidc", val port: Int = 8888, val clientId: String? = null, val secret: String? = null, val shutdownDelay: Long = 1000, val listenAddress: String = "0.0.0.0", val multipartCachePath: String = "/tmp/", val multipartMaxFileSize: Long = 1000, val multipartMaxInMemoryFileSize: Int = 100, val multipartMaxTotalRequestSize: Long = 1000, val compression: Boolean = false, val staticContentPaths: List<String> = listOf(), val staticContentPackage: String? = null, val discoveryURI: String = "https://gitlab-ext.utu.fi/.well-known/openid-configuration", val iss: String = "https://gitlab-ext.utu.fi", val callback: String, val prefix: String = "")
Link copied to clipboard
data class UserEntry(val userName: String, val passwordHash: String, val salt: String, val displayName: String = userName, val roles: List<String> = listOf())

Entries consist of username, list of roles, hashed password.

Link copied to clipboard
data class UserRoleMap(val entries: List<UserEntry> = listOf(), val iterations: Int, val keyLength: Int, val algorithm: String)

Contains a salt value + list of user role entries.