Skip to content

Commit

Permalink
Atualização para o Demoiselle 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zyc authored and tpinho committed Aug 2, 2011
1 parent 64b33fe commit b3de64c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
19 changes: 9 additions & 10 deletions pom.xml
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/rasea/core/security/RaseaAuthorizer.java
Expand Up @@ -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;

Expand All @@ -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.