AccessPrincipal

abstract class AccessPrincipal(accesses: Collection<Access>) : Principal

An authenticated access to specific resources/permissions.

Constructors

Link copied to clipboard
fun AccessPrincipal(resource: Resource, permissions: Collection<Permission>)
Link copied to clipboard
fun AccessPrincipal(accesses: Collection<Access>)

Functions

Link copied to clipboard
inline fun <T : Resource> getPermissions(): Map<Long, Collection<Permission>>
Link copied to clipboard
fun hasAccess(resource: Resource, permission: Permission): Boolean

Properties

Link copied to clipboard
val accesses: Collection<Access>

Inheritors

Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard