Skip to content

Commit d80e8b9

Browse files
committed
Java EE Security Quickstart.
1 parent 7cbd96e commit d80e8b9

File tree

6 files changed

+10
-88
lines changed

6 files changed

+10
-88
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ archetype uses container managed security. There are two ways to do this.
7979
interface script. This will add a security domain named `javaee-security-quickstart`. If you want to
8080
change it, be sure to change the `src/main/webapp/WEB-INF/jboss-web.xml` file as well.
8181

82-
2) Manually add the file jboss-security-domain.xml, found in the root of your new project, to the Wildfly server's
83-
configuration file, which is typically standalone.xml. Find the `<security-domains>`
84-
section of the configuration file and insert the contents of
85-
the jboss-security-domain.xml into the section as a new `<security-domain>`.
82+
2) Manually add the file `javaee-security-domain.xml`, found in the root of your new project, to
83+
the Wildfly server's configuration file, which is typically standalone.xml. Find the `<security-domains>`
84+
section of the configuration file and insert the contents of the jboss-security-domain.xml into the
85+
section as a new `<security-domain>`.
8686

8787
### Test the project
8888

src/main/resources/META-INF/maven/archetype-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<includes>
103103
<include>.classpath</include>
104104
<include>.project</include>
105-
<include>jboss-security-domain.xml</include>
105+
<include>javaee-security-domain.xml</include>
106106
</includes>
107107
</fileSet>
108108
<fileSet encoding="UTF-8">

src/main/resources/archetype-resources/jboss-security-domain.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/main/resources/archetype-resources/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ archetype uses container managed security. There are two ways to do this.
7979
interface script. This will add a security domain named `javaee-security-quickstart`. If you want to
8080
change it, be sure to change the `src/main/webapp/WEB-INF/jboss-web.xml` file as well.
8181

82-
2) Manually add the file jboss-security-domain.xml, found in the root of your new project, to the Wildfly server's
83-
configuration file, which is typically standalone.xml. Find the `<security-domains>`
84-
section of the configuration file and insert the contents of
85-
the jboss-security-domain.xml into the section as a new `<security-domain>`.
82+
2) Manually add the file `javaee-security-domain.xml`, found in the root of your new project, to
83+
the Wildfly server's configuration file, which is typically standalone.xml. Find the `<security-domains>`
84+
section of the configuration file and insert the contents of the jboss-security-domain.xml into the
85+
section as a new `<security-domain>`.
8686

8787
### Test the project
8888

src/main/resources/archetype-resources/src/main/webapp/views/test.html

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/test/resources/projects/basic/archetype.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Tue Aug 02 16:07:24 PDT 2016
1+
#Tue Aug 02 18:26:01 PDT 2016
22
package=it.pkg
33
version=0.1-SNAPSHOT
44
groupId=archetype.it

0 commit comments

Comments
 (0)