primefaces - show certain data according to logged in webuser in JSF -


i built dynamic web application jsf 2.0 , primefaces 5.2 (community edition). it's running on ibm websphere v8.5.

my web application uses p:datatable populate data. each webuser should see own data , can add records it. webuser's name or id can caught facescontext.getcurrentinstance().getexternalcontext().getremoteuser(). login.xhtml mask forbidden, because of constraints.

how , filter different webuser's views? there jsf phaselistener, servletcontextlistener, httpsessionlistener or servletrequestlistener or filters. components should use?

i hope can me little bit.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -