com.jahnelgroup.jackson.security.principal.PrincipalProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-field-security Show documentation
Show all versions of jackson-field-security Show documentation
Provides field level security for Jackson
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