Permalink
Browse files

Atualização para o Demoiselle 2.1.1

  • Loading branch information...
1 parent 64b33fe commit b3de64c2336b479a97d96dc6ca9d2da11ff5f6de @zyc zyc committed with Jul 18, 2011
Showing with 12 additions and 13 deletions.
  1. +9 −10 pom.xml
  2. +3 −3 src/main/java/org/rasea/core/security/RaseaAuthorizer.java
View
19 pom.xml
@@ -23,7 +23,6 @@
<modelVersion>4.0.0</modelVersion>
- <groupId>org.rasea</groupId>
<artifactId>rasea-server</artifactId>
<version>1.0.0.Alpha1-SNAPSHOT</version>
<packaging>war</packaging>
@@ -42,7 +41,7 @@
<dependency>
<groupId>br.gov.frameworkdemoiselle</groupId>
<artifactId>demoiselle-parent</artifactId>
- <version>2.1.0</version>
+ <version>2.1.1</version>
<scope>import</scope>
<type>pom</type>
</dependency>
@@ -53,12 +52,12 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
- <version>4.2.0.Beta1</version>
+<!-- <version>4.2.0.Beta1</version> -->
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
- <version>1.1.1.Final</version>
+<!-- <version>1.1.1.Final</version> -->
<exclusions>
<exclusion>
<artifactId>jsr250-api</artifactId>
@@ -69,13 +68,13 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
- <version>2.5</version>
+<!-- <version>2.5</version> -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-core</artifactId>
- <version>1.1.1.Final</version>
+<!-- <version>1.1.1.Final</version> -->
</dependency>
<dependency>
<groupId>com.ocpsoft</groupId>
@@ -110,7 +109,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.4.2</version>
+<!-- <version>1.4.2</version> -->
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
@@ -126,19 +125,19 @@
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
- <version>3.0</version>
+<!-- <version>3.0</version> -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
- <version>1.4.6</version>
+<!-- <version>1.4.6</version> -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-easymock</artifactId>
- <version>1.4.6</version>
+<!-- <version>1.4.6</version> -->
<scope>test</scope>
</dependency>
</dependencies>
@@ -22,10 +22,10 @@
import javax.enterprise.inject.Alternative;
-import br.gov.frameworkdemoiselle.security.Authorizator;
+import br.gov.frameworkdemoiselle.security.Authorizer;
@Alternative
-public class RaseaAuthorizer implements Authorizator {
+public class RaseaAuthorizer implements Authorizer {
private static final long serialVersionUID = -1432059116255260326L;
@@ -35,7 +35,7 @@ public boolean hasRole(String role) {
}
@Override
- public boolean hasPermission(Object resource, String operation) {
+ public boolean hasPermission(String resource, String operation) {
return true;
}
}

0 comments on commit b3de64c

Please sign in to comment.