#if Session["SPRING_SECURITY_CONTEXT"]?exists> <#assign authorities = Session["SPRING_SECURITY_CONTEXT"].authentication.authorities /> <#if authorities?seq_contains("ROLE_ADMIN")> <#else> #if> #if>