Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
16. Jul 2008, 13:26 CET | Link

hai friends...
      I am new to jboss seam..
           I am doing the application that has two login and logout in same application..After main login screen i have another screen from where i can login to another screen...
     How can i use the identity class to do it...
     please help me...
  shashi
  

3 Replies:
16. Jul 2008, 15:25 CET | Link

You need to define to Identity instance in the components.xml and inject it into your Login component.

 

Best regards,
Joshua

Visit my blog.

16. Jul 2008, 15:29 CET | Link

I meant two Identity instance.

 

Best regards,
Joshua

Visit my blog.

17. Jul 2008, 08:46 CET | Link

1.I have two login and logout in same web applications.
     The first screen has username and password where we can login into the web application.
  After login i have a link called(Admin) from where i can login to administration screen..
  and create users and logout from administration.
 Finally i can logout from the main screen where entered username and password to login into web application.
  how can i use the same Identity build in class to do authetication..
 (Identity identity = Identity.instance();)



2.I have a java object call saasAdmin it has following fields..

 private String userName;
 private String firstName;
 private String lastName;
 private String encryptedUserPassword;
 private String email
        ..... etc

(or)
  I there any way to implement authetication (login and logout) without using ... Identity build in class..


    1.Currently i am doing getting the username password if exists.. putting object(saasAdmin) into session...


  how to remove the invalidate session in jboss seam.. [I want to remove the (saasAdmin) object from session. ]

please help me...