//Pre Render View in JSF <f:metadata> <f:viewParam name="token" value="#{authenticator.token}" /> <f:event type="preRenderView" listener="#{authenticator.check}" /> </f:metadata>