Problems with SpringSecurity remember-me application




Asked on February 24, 2017
vamsikurukuri@gmail.com

Hi,

I am a newbie.I have writtn a blog post with Primefaces6,springsecurity4,SpringData,
Hibernate4.3 which is of java configuration.I have few problems.please help me to solver

those.I want it to be a very good tutorial for beginners like me.
1.If remember-me functionality is not working,please help me to fix it.
2.

        javax.servlet.ServletException
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

24-Feb-2017 11:50:47.848 SEVERE [http-nio-8084-exec-34]

com.sun.faces.application.view.FaceletViewHandlingStrategy.handleRenderException Error

Rendering View[/View/Secured/Admin/crud.xhtml]

 javax.el.ELException: /View/Secured/Admin/crud.xhtml @170,217 value="#

{employeeBBean.employeeList}": Error reading 'employeeList' on type

com.ray.jsfbean.controller.EmployeeBBean

Caused by: javax.el.ELException: Error reading 'employeeList' on type

com.ray.jsfbean.controller.EmployeeBBean

Caused by: java.lang.NullPointerException
at com.ray.jsfbean.controller.EmployeeBBean.getEmployeeList(EmployeeBBean.java:146)


3.In crud.xhtml and add.xhtml

 <h:form>

    <p:outputLabel value="Welcome Admin "></p:outputLabel>
    <p:outputLabel value="#{loginController.username}"></p:outputLabel>

It does not display the username.

Thanks

Raichand






Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us