chore: reorganize into polyglot monorepo (workshop)
- Move bigmind/ -> mcp/bigmind/ - Move webscraper/ -> mcp/webscraper/ - Move mss-failsafe/ -> java/mss-failsafe/ - Move Wellmann-Shop/ -> java/wellmann-shop/ (normalize to kebab-case) - Add .roo/ IDE config files to tracking - Add plans/REPO_STRATEGY.md (monorepo strategy document) - Expand .gitignore: Java/Maven, Node/TS, coverage, uv.lock - Rewrite README.md as navigation index - Update .roo/mcp.json webscraper path to mcp/webscraper/
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<persistence version="2.2" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
|
||||
<!-- Define Persistence Unit -->
|
||||
<persistence-unit name="pu_person">
|
||||
<jta-data-source>java:/mss-failsave</jta-data-source>
|
||||
<class>model.person.Token</class>
|
||||
<class>model.person.Salt</class>
|
||||
<class>model.person.Person</class>
|
||||
<class>model.person.Password</class>
|
||||
<properties>
|
||||
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Sat Oct 09 18:48:13 CEST 2021
|
||||
groupId=plate.software
|
||||
artifactId=userManagement
|
||||
version=1.0-SNAPSHOT
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
model\person\Password.class
|
||||
httpauthenticationmechanism\AppRememberMeIdentityStore.class
|
||||
model\person\enums\Call.class
|
||||
business\user\PersonManager.class
|
||||
business\user\TokenManager.class
|
||||
exception\InvalidPasswordException.class
|
||||
model\person\Salt.class
|
||||
httpauthenticationmechanism\LogoutListener.class
|
||||
httpauthenticationmechanism\ManagedPerson.class
|
||||
exception\PersonInaktiveException.class
|
||||
model\person\enums\UserGroup.class
|
||||
controller\AbstractController.class
|
||||
business\user\PasswordManager.class
|
||||
model\person\enums\Call$1.class
|
||||
controller\person\PersonController.class
|
||||
exception\AbstractBusinessException.class
|
||||
httpauthenticationmechanism\AppIdentityStore.class
|
||||
model\person\enums\TokenType.class
|
||||
httpauthenticationmechanism\ApplicationConfig.class
|
||||
model\person\Person.class
|
||||
business\user\DemoManager.class
|
||||
model\AbstractEntity.class
|
||||
exception\InvalidEmailException.class
|
||||
model\person\Token.class
|
||||
exception\InvalidCredentialException.class
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\Person.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\httpauthenticationmechanism\LogoutListener.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\enums\TokenType.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\Token.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\business\user\PasswordManager.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\exception\InvalidEmailException.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\httpauthenticationmechanism\ApplicationConfig.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\enums\UserGroup.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\AbstractEntity.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\controller\AbstractController.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\exception\InvalidCredentialException.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\httpauthenticationmechanism\AppIdentityStore.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\httpauthenticationmechanism\AppRememberMeIdentityStore.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\exception\PersonInaktiveException.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\httpauthenticationmechanism\ManagedPerson.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\enums\Call.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\business\user\TokenManager.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\Salt.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\business\user\DemoManager.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\model\person\Password.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\exception\InvalidPasswordException.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\business\user\PersonManager.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\controller\person\PersonController.java
|
||||
C:\Users\patri\Documents\NetBeansProjects\mss-failsafe\userManagement\src\main\java\exception\AbstractBusinessException.java
|
||||
Binary file not shown.
Binary file not shown.
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<persistence version="2.2" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
|
||||
<!-- Define Persistence Unit -->
|
||||
<persistence-unit name="pu_person">
|
||||
<jta-data-source>java:/mss-failsave</jta-data-source>
|
||||
<class>model.person.Token</class>
|
||||
<class>model.person.Salt</class>
|
||||
<class>model.person.Person</class>
|
||||
<class>model.person.Password</class>
|
||||
<properties>
|
||||
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
||||
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_10_0.xsd"
|
||||
version="10.0">
|
||||
<security-domain>mss-failsafe</security-domain>
|
||||
</jboss-web>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jboss-web version="10.0" xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_10_0.xsd">
|
||||
<context-root>/userManagement-1.0-SNAPSHOT</context-root>
|
||||
<security-domain>jaspitest</security-domain>
|
||||
</jboss-web>
|
||||
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
<welcome-file-list>
|
||||
<welcome-file>/index.xhtml</welcome-file>
|
||||
</welcome-file-list>
|
||||
<error-page>
|
||||
<!-- Missing login -->
|
||||
<error-code>401</error-code>
|
||||
<location>/error.xhtml</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<!-- Forbidden directory listing -->
|
||||
<error-code>403</error-code>
|
||||
<location>/error.xhtml</location>
|
||||
</error-page>
|
||||
<security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>authorise</web-resource-name>
|
||||
<url-pattern>/user/*</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
<http-method>TRACE</http-method>
|
||||
<http-method>HEAD</http-method>
|
||||
<http-method>DELETE</http-method>
|
||||
<http-method>CONNECT</http-method>
|
||||
<http-method>OPTIONS</http-method>
|
||||
<http-method>PUT</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint>
|
||||
<role-name>ADMIN</role-name>
|
||||
<role-name>USER</role-name>
|
||||
</auth-constraint>
|
||||
<!--
|
||||
<user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
||||
</user-data-constraint>-->
|
||||
</security-constraint>
|
||||
<security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>authorise</web-resource-name>
|
||||
<url-pattern>/admin/*</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
<http-method>TRACE</http-method>
|
||||
<http-method>HEAD</http-method>
|
||||
<http-method>DELETE</http-method>
|
||||
<http-method>CONNECT</http-method>
|
||||
<http-method>OPTIONS</http-method>
|
||||
<http-method>PUT</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint>
|
||||
<role-name>ADMIN</role-name>
|
||||
</auth-constraint>
|
||||
<!--<user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
||||
</user-data-constraint>-->
|
||||
</security-constraint>
|
||||
<security-role>
|
||||
<description>Normal User which got invited</description>
|
||||
<role-name>USER</role-name>
|
||||
</security-role>
|
||||
<security-role>
|
||||
<description>Admin user who can change entries, invite new domains and more..</description>
|
||||
<role-name>ADMIN</role-name>
|
||||
</security-role>
|
||||
<context-param>
|
||||
<param-name>javax.faces.PROJECT_STAGE</param-name>
|
||||
<param-value>Development</param-value>
|
||||
</context-param>
|
||||
<servlet>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<url-pattern>*.xhtml</url-pattern>
|
||||
</servlet-mapping>
|
||||
<session-config>
|
||||
<session-timeout>
|
||||
30
|
||||
</session-timeout>
|
||||
<cookie-config>
|
||||
<http-only>true</http-only>
|
||||
<!-- Prevent client side scripting from accessing/manipulating session cookie. -->
|
||||
</cookie-config>
|
||||
<tracking-mode>COOKIE</tracking-mode>
|
||||
<!-- This disables URL rewriting. -->
|
||||
</session-config>
|
||||
</web-app>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jboss-web version="10.0" xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_10_0.xsd">
|
||||
<context-root>/userManagement-1.0-SNAPSHOT</context-root>
|
||||
<security-domain>jaspitest</security-domain>
|
||||
</jboss-web>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://java.sun.com/jsf/html"
|
||||
xmlns:f="http://java.sun.com/jsf/core"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<h:head>
|
||||
<title>Willkommen #{personController.activeUser.call.toString()} #{personController.activeUser.lastname}</title>
|
||||
</h:head>
|
||||
|
||||
<h:body>
|
||||
<p>Willkommen #{personController.activeUser.call.toString()} #{personController.activeUser.lastname}</p>
|
||||
<p:spinner />
|
||||
</h:body>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:p="http://primefaces.org/ui"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core">
|
||||
<h:head>
|
||||
<title>Error Testpage</title>
|
||||
</h:head>
|
||||
<h:body>
|
||||
|
||||
<p>Error!</p>
|
||||
|
||||
</h:body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:p="http://primefaces.org/ui"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core">
|
||||
<h:head>
|
||||
<title>Login Testpage</title>
|
||||
</h:head>
|
||||
<h:body>
|
||||
|
||||
<h:form id="login">
|
||||
<p:panel header="Login MSS-Failsafe " style="width: 450px; margin: auto; margin-top: 100px;">
|
||||
<p:messages id="messages" showDetail="true" closable="true">
|
||||
<p:autoUpdate />
|
||||
</p:messages>
|
||||
<h:panelGrid columns="2" cellpadding="5">
|
||||
<p:outputLabel for="username" value="Email" />
|
||||
<p:inputText id="username" value="#{personController.username}" required="true" label="username" />
|
||||
|
||||
<p:outputLabel for="password" value="Password:" />
|
||||
<p:password id="password" value="#{personController.password}" required="true" label="password" />
|
||||
|
||||
<p:outputLabel for="rememberMe" value="Remember Me:" />
|
||||
<p:selectBooleanCheckbox id="rememberMe" value="#{personController.rememberMe}" />
|
||||
|
||||
<f:facet name="footer">
|
||||
<p:commandButton value="Login" action="#{personController.submit()}" ajax="false"/>
|
||||
</f:facet>
|
||||
</h:panelGrid>
|
||||
</p:panel>
|
||||
</h:form>
|
||||
|
||||
</h:body>
|
||||
</html>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://java.sun.com/jsf/html"
|
||||
xmlns:f="http://java.sun.com/jsf/core"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<h:head>
|
||||
<title>Willkommen #{personController.activeUser.call.toString()} #{personController.activeUser.lastname}</title>
|
||||
</h:head>
|
||||
|
||||
<h:body>
|
||||
<p>Willkommen #{personController.activeUser.call.toString()} #{personController.activeUser.lastname}</p>
|
||||
<p:spinner />
|
||||
</h:body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user