deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From εδΈ‰ιƒŽ <mihaish...@163.com>
Subject i cant find [User],[LoggedIn] class in deltaspike-security-module.
Date Wed, 25 Sep 2013 07:37:41 GMT
 hi everyone:

i want to use deltaspike-security module in a project.

im already add deltaspike-security dependency:
----------------------------
        <dependency>
            <groupId>org.apache.deltaspike.modules</groupId>
            <artifactId>deltaspike-security-module-api</artifactId>
            <version>${deltaspike.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.deltaspike.modules</groupId>
            <artifactId>deltaspike-security-module-impl</artifactId>
            <version>${deltaspike.version}</version>
            <scope>runtime</scope>
        </dependency>
----------------------------
and i follow the offical documents to create  the Authorizer:
----------------------------

@ApplicationScopedpublicclassCustomAuthorizer{@Secures@CustomSecurityBindingpublicbooleandoSecuredCheck(InvocationContextinvocationContext,BeanManagermanager,@LoggedInUseruser)throwsException{returnuser.isLoggedIn();//
perform security check}}

----------------------------
i find there is no [User] class and [LoggedIn] class.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message