All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jahnelgroup.jackson.security.principal.PrincipalProvider.kt Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.jahnelgroup.jackson.security.principal

/**
 * Defines the specification for determining the current logged in
 * principal.
 *
 * @author Steven Zgaljic
 * @since 1.0.0
 */
interface PrincipalProvider {

    /**
     * @return the current logged in principal username
     */
    fun getCurrentPrincipal() : String

    fun getRoles() : List

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy