Skip to content

Commit

Permalink
fix #13
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgregorio committed Jun 6, 2019
1 parent ba8960d commit c62e9c7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 29 deletions.
51 changes: 26 additions & 25 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>br.eti.arthurgregorio</groupId>
<artifactId>shiro-ee</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</properties>

<name>shiro-ee</name>
<description>JEE extension for Apache Shiro Security Framework</description>
<url>http://arthurgregorio.eti.br/shiro-ee</url>

<organization>
<name>Arthur Gregorio</name>
<url>http://arthurgregorio.eti.br</url>
</organization>

<developers>
<developer>
<name>Arthur Gregorio</name>
<organization>AG.Software</organization>
<organizationUrl>http://arthurgregorio.eti.br</organizationUrl>
</developer>
</developers>

<inceptionYear>2018</inceptionYear>

<scm>
<connection>scm:git:[email protected]:arthurgregorio/shiro-ee.git</connection>
<url>scm:git:[email protected]:arthurgregorio/shiro-ee.git</url>
<developerConnection>scm:git:[email protected]:arthurgregorio/shiro-ee.git</developerConnection>
<tag>HEAD</tag>
</scm>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand All @@ -57,7 +58,7 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<dependencies>
<!--jee7 api-->
<dependency>
Expand All @@ -71,50 +72,50 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
<version>2.2</version>
<version>2.5</version>
</dependency>

<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.18</version>
<version>1.18.6</version>
</dependency>

<!--guava-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>23.6-jre</version>
<version>27.1-jre</version>
</dependency>

<!--apache shiro-->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>de.svenkubiak</groupId>
<artifactId>jBCrypt</artifactId>
<version>0.4.1</version>
</dependency>

<!--testing-->
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -123,9 +124,9 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.mindrot.jbcrypt.BCrypt;

/**
* The bcryp passord service implementation.
* The bcrypt password service implementation.
*
* This class is only a basic implementation to provide to Shiro the ability to
* match the users password for JDBC realms on the authentication process.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import org.apache.shiro.subject.PrincipalCollection;

/**
* This class is a implementation of the {@link AuthenticationListener} used to
* notify others about the steps of the authentication
* This class is a implementation of the {@link AuthenticationListener} used to notify others about the authentication
* process
*
* @author Arthur Gregorio
*
Expand Down Expand Up @@ -61,7 +61,7 @@ public void onSuccess(AuthenticationToken token, AuthenticationInfo info) {
* {@inheritDoc }
*
* @param token
* @param exception *spo
* @param exception
*/
@Override
public void onFailure(AuthenticationToken token, AuthenticationException exception) {
Expand Down

0 comments on commit c62e9c7

Please sign in to comment.