Skip to content

Commit

Permalink
Java EE Security Quickstart.
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnicholas committed Aug 3, 2016
1 parent 7cbd96e commit d80e8b9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 88 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ archetype uses container managed security. There are two ways to do this.
interface script. This will add a security domain named `javaee-security-quickstart`. If you want to
change it, be sure to change the `src/main/webapp/WEB-INF/jboss-web.xml` file as well.

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

### Test the project

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/maven/archetype-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<includes>
<include>.classpath</include>
<include>.project</include>
<include>jboss-security-domain.xml</include>
<include>javaee-security-domain.xml</include>
</includes>
</fileSet>
<fileSet encoding="UTF-8">
Expand Down
15 changes: 0 additions & 15 deletions src/main/resources/archetype-resources/jboss-security-domain.xml

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/resources/archetype-resources/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ archetype uses container managed security. There are two ways to do this.
interface script. This will add a security domain named `javaee-security-quickstart`. If you want to
change it, be sure to change the `src/main/webapp/WEB-INF/jboss-web.xml` file as well.

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

### Test the project

Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/resources/projects/basic/archetype.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Tue Aug 02 16:07:24 PDT 2016
#Tue Aug 02 18:26:01 PDT 2016
package=it.pkg
version=0.1-SNAPSHOT
groupId=archetype.it
Expand Down

0 comments on commit d80e8b9

Please sign in to comment.