Skip to content

Commit

Permalink
fcrepo-webapp-plus: default build - webac and audit
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlinchen authored and Andrew Woods committed Oct 27, 2015
1 parent 72deea2 commit 77ade85
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -16,13 +16,19 @@ Basic Authentication is configured for both profiles at this time. To choose a
method, update the web.xml deployment descriptor for the webapp in question, being aware
that this may break the single integration test.

## Role-Base Access Control Lists

The default maven build profile, these configuration files are found in src/rbacl.
## Default Maven Build
The default maven build profile is Audit capability with WebAC
```
mvn install
```

## Role-Based Access Control Lists

This maven build profile bundles the Role-Based access control module to the fcrepo webapp. The configuration files are found in src/rbacl.
```
mvn install -P rbacl
```

## Web Access Control

This maven build profile bundles WebAC authorization module to the fcrepo webapp. The configuration files are found in src/webac.
Expand Down
9 changes: 6 additions & 3 deletions pom.xml
Expand Up @@ -278,6 +278,9 @@
<audit.auth.context>${audit.src.dir}/auth-resources</audit.auth.context>
<audit.auth.excludes>**/auth-master.xml</audit.auth.excludes>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.fcrepo</groupId>
Expand Down Expand Up @@ -374,9 +377,6 @@
<profile.src.dir>${project.basedir}/src/rbacl</profile.src.dir>
<auth.enabled>true</auth.enabled>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.fcrepo</groupId>
Expand Down Expand Up @@ -415,6 +415,9 @@
<profile.src.dir>${project.basedir}/src/webac</profile.src.dir>
<auth.enabled>true</auth.enabled>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.fcrepo</groupId>
Expand Down

0 comments on commit 77ade85

Please sign in to comment.