@startuml set namespaceSeparator \\ !$version ?= 2 !include UserAuthentication.v1.puml !$textColor = $getTextColor($version, 2) namespace Authentication { class UserAuthentication { - {static} SESSION_KEY = '__UserAuthentication__' {readOnly} - {static} SESSION_USER_KEY = 'user' {readOnly} # setUser(user : Entity\\User) : void + isUserConnected() : bool } } Authentication\\UserAuthentication o--> "0..1\n- user" Entity\\User: authenticates @enduml