Skip to content

Commit

Permalink
Merge pull request #40 from Bernardo-MG/merge_master
Browse files Browse the repository at this point in the history
Merge master
  • Loading branch information
Bernardo-MG authored Dec 9, 2016
2 parents 354bc08 + f971b5b commit 857ff6f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ matrix:

before_install:
# Gets scripts
- git clone -b v0.2.4 --single-branch https://github.com/Bernardo-MG/ci-shell-scripts.git ~/.scripts
- git clone -b v0.4.1 --single-branch https://github.com/Bernardo-MG/ci-shell-scripts.git ~/.scripts
# Sets scripts as executable
- chmod -R +x ~/.scripts/*
# Prepares CI environment
Expand Down
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.wandrell.maven</groupId>
<artifactId>base-pom</artifactId>
<version>1.0.5</version>
<version>1.1.0</version>
</parent>

<!-- ********************************************** -->
Expand All @@ -20,7 +20,7 @@

<groupId>com.wandrell.example</groupId>
<artifactId>swss-soap-example</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<packaging>war</packaging>

<name>Spring Web Services WS-Security Example</name>
Expand Down Expand Up @@ -330,11 +330,10 @@
<plugin.changes.version>2.12</plugin.changes.version>
<plugin.jaxb2.version>0.13.1</plugin.jaxb2.version>
<plugin.jetty.version>9.1.6.v20160112</plugin.jetty.version>
<plugin.site.velocity.version>1.7</plugin.site.velocity.version>
<plugin.tomcat7.version>2.2</plugin.tomcat7.version>
<plugin.war.version>3.0.0</plugin.war.version>
<!-- Maven Site -->
<site.skin.version>0.4.0</site.skin.version>
<site.skin.version>0.5.0</site.skin.version>
<!-- Testing server -->
<server.test.path>/swss</server.test.path>
</properties>
Expand Down Expand Up @@ -685,12 +684,6 @@
<artifactId>docs-maven-skin</artifactId>
<version>${site.skin.version}</version>
</dependency>
<dependency>
<!-- Velocity -->
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>${plugin.site.velocity.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
Expand Down
5 changes: 5 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,10 @@
Maven site is now deployed through SSH.
</action>
</release>
<release version="1.2.2" date="2016-12-09" description="Minor changes">
<action dev="bmg" type="update">
Updated Maven configuration.
</action>
</release>
</body>
</document>
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

import static com.google.common.base.Preconditions.checkNotNull;

import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -74,7 +74,7 @@ public final UserDetails loadUserByUsername(final String username)

if ("myUser".equalsIgnoreCase(username)) {
// User for password-based security
authorities = new LinkedList<SimpleGrantedAuthority>();
authorities = new ArrayList<SimpleGrantedAuthority>();
authorities.add(new SimpleGrantedAuthority("ROLE_ADMIN"));

user = new User(username, "myPassword", authorities);
Expand Down

0 comments on commit 857ff6f

Please sign in to comment.