├── .gitignore ├── LICENSE ├── README.md ├── pom.xml ├── preview.png └── src └── main ├── java └── com │ └── github │ └── hantsy │ └── ee8sample │ ├── Bootstrap.java │ ├── Constants.java │ ├── FacesConfigurationBean.java │ ├── Resources.java │ ├── domain │ ├── LoginToken.java │ ├── Task.java │ ├── User.java │ └── support │ │ ├── AbstractAuditableEntity.java │ │ ├── AbstractEntity.java │ │ ├── AbstractRepository.java │ │ └── AuditEntityListener.java │ ├── faces │ ├── DefaultExceptionHandler.java │ ├── DefaultExceptionHandlerFactory.java │ ├── MessageHandler.java │ └── RequestLoggingPhaseListener.java │ ├── repository │ ├── LoginTokenRepository.java │ ├── TaskRepository.java │ └── UserRepository.java │ ├── security │ ├── Authenticated.java │ ├── AuthenticatedUserProducer.java │ ├── UserInfo.java │ └── auth │ │ ├── CustomAuthenticationMechanism.java │ │ ├── CustomIdentityStore.java │ │ └── CustomRememberMeIdentityStore.java │ ├── service │ ├── InvalidUsernameException.java │ ├── TaskNotFoundException.java │ ├── TaskService.java │ └── UserService.java │ └── web │ ├── EditTaskAction.java │ ├── LoginBean.java │ ├── TaskDetails.java │ ├── TaskHome.java │ └── ViewTaskDetailsAction.java ├── resources ├── META-INF │ ├── orm.xml │ └── persistence.xml ├── ValidationMessages_en.properties └── messages_en.properties └── webapp ├── WEB-INF ├── beans.xml ├── faces-config.xml ├── glassfish-web.xml ├── layout │ ├── alert.xhtml │ ├── footer.xhtml │ ├── nav.xhtml │ ├── simple.xhtml │ └── template.xhtml └── web.xml ├── details.xhtml ├── error.xhtml ├── form.xhtml ├── index.html ├── login.xhtml ├── resources ├── css │ ├── login.css │ └── main.css └── images │ └── tb.png └── tasks.xhtml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/pom.xml -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/preview.png -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/Bootstrap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/Bootstrap.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/Constants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/Constants.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/FacesConfigurationBean.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/FacesConfigurationBean.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/Resources.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/Resources.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/LoginToken.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/LoginToken.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/Task.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/Task.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/User.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractAuditableEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractAuditableEntity.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractEntity.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/support/AbstractRepository.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/domain/support/AuditEntityListener.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/domain/support/AuditEntityListener.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/faces/DefaultExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/faces/DefaultExceptionHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/faces/DefaultExceptionHandlerFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/faces/DefaultExceptionHandlerFactory.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/faces/MessageHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/faces/MessageHandler.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/faces/RequestLoggingPhaseListener.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/faces/RequestLoggingPhaseListener.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/repository/LoginTokenRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/repository/LoginTokenRepository.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/repository/TaskRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/repository/TaskRepository.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/repository/UserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/repository/UserRepository.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/Authenticated.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/Authenticated.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/AuthenticatedUserProducer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/AuthenticatedUserProducer.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/UserInfo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/UserInfo.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/auth/CustomAuthenticationMechanism.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/auth/CustomAuthenticationMechanism.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/auth/CustomIdentityStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/auth/CustomIdentityStore.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/security/auth/CustomRememberMeIdentityStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/security/auth/CustomRememberMeIdentityStore.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/service/InvalidUsernameException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/service/InvalidUsernameException.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/service/TaskNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/service/TaskNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/service/TaskService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/service/TaskService.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/service/UserService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/service/UserService.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/web/EditTaskAction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/web/EditTaskAction.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/web/LoginBean.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/web/LoginBean.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/web/TaskDetails.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/web/TaskDetails.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/web/TaskHome.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/web/TaskHome.java -------------------------------------------------------------------------------- /src/main/java/com/github/hantsy/ee8sample/web/ViewTaskDetailsAction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/java/com/github/hantsy/ee8sample/web/ViewTaskDetailsAction.java -------------------------------------------------------------------------------- /src/main/resources/META-INF/orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/resources/META-INF/orm.xml -------------------------------------------------------------------------------- /src/main/resources/META-INF/persistence.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/resources/META-INF/persistence.xml -------------------------------------------------------------------------------- /src/main/resources/ValidationMessages_en.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/resources/ValidationMessages_en.properties -------------------------------------------------------------------------------- /src/main/resources/messages_en.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/resources/messages_en.properties -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/beans.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/beans.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/faces-config.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/glassfish-web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/glassfish-web.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/layout/alert.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/layout/alert.xhtml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/layout/footer.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/layout/footer.xhtml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/layout/nav.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/layout/nav.xhtml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/layout/simple.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/layout/simple.xhtml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/layout/template.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/layout/template.xhtml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /src/main/webapp/details.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/details.xhtml -------------------------------------------------------------------------------- /src/main/webapp/error.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/error.xhtml -------------------------------------------------------------------------------- /src/main/webapp/form.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/form.xhtml -------------------------------------------------------------------------------- /src/main/webapp/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/index.html -------------------------------------------------------------------------------- /src/main/webapp/login.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/login.xhtml -------------------------------------------------------------------------------- /src/main/webapp/resources/css/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/resources/css/login.css -------------------------------------------------------------------------------- /src/main/webapp/resources/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/resources/css/main.css -------------------------------------------------------------------------------- /src/main/webapp/resources/images/tb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/resources/images/tb.png -------------------------------------------------------------------------------- /src/main/webapp/tasks.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hantsy/javaee8-jsf-sample/HEAD/src/main/webapp/tasks.xhtml --------------------------------------------------------------------------------