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
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..
You need to define to Identity instance in the components.xml and inject it into your Login component.
Best regards,
Joshua
Visit my blog.
I meant two Identity instance.
Best regards,
Joshua
Visit my blog.
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...