public class UserTag extends SecureTag
Note: This is less restrictive than the AuthenticatedTag since it only assumes
the user is who they say they are, either via a current session login or via Remember Me services, which
makes no guarantee the user is who they say they are. The AuthenticatedTag however
guarantees that the current user has logged in during their current session, proving they really are
who they say they are.
The logically opposite tag of this one is the GuestTag.
Equivalent to UserTag
| 构造器和说明 |
|---|
UserTag() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
render(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateDirectiveBody body) |
execute, getParam, getSubject, renderBody, verifyParameterspublic void render(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateDirectiveBody body)
throws IOException,
freemarker.template.TemplateException
render 在类中 SecureTagIOExceptionfreemarker.template.TemplateExceptionCopyright © 2014. All rights reserved.