[jboss-dev-forums] [JBoss AS 7 Development] - Authentication JAAS in jboss7

yunshi tan do-not-reply at jboss.com
Mon Sep 17 11:22:58 EDT 2012


yunshi tan [https://community.jboss.org/people/yunshi] created the discussion

"Authentication JAAS in jboss7"

To view the discussion, visit: https://community.jboss.org/message/759962#759962

--------------------------------------------------------------
Hi everyone,

I am immigrating jboss4.2.6 -> jboss7 and I have a few questions about the JAAS authentification part.

In jboss4, I implements my own WebAuthentication who extends the WebAuthentication class to provide the authentication functions, like this

+public class WebAuthenticationExtended extends WebAuthentication {+

+  @Override+
+  public boolean login(String username, Object credential) {+
+  }+

+  // other login methods+
+}+


I understand that in jboss7 the class +WebAuthentication+ has been removed as Servlet 3 provides some login module and WebAuthentication was redundant. However, I am lost.

I am using Iceface 1.8.2 / seam2.2 with my application. Iceface 1.8.2 has dependence on servlet-api 2.4/2.5.

* Could I use iceface 1.8.2 with servlet-api-3 ?
* Are there any examples of the programmatic login implementation of servlet 3 ? 


Does anybody have any advices ? or are there any examples ? 

Many thanks in advance.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759962#759962]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120917/1c3a3d84/attachment.html 


More information about the jboss-dev-forums mailing list