com.jahnelgroup.jackson.security.principal.SpringSecurityPrincipalAware.kt Maven / Gradle / Ivy
package com.jahnelgroup.jackson.security.principal
import org.springframework.security.core.context.SecurityContextHolder
class SpringSecurityPrincipalAware : PrincipalAware {
override fun getCurrentPrincipal() =
SecurityContextHolder.getContext().authentication.name
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy