Good afternoon Jacob,
Thanks a lot for the solution. I have used my home page as "a page in between"
and it works fine. In this way, I don't need to use meta refresh to redirect to
the login page.
Thank you very much for your help and have a nice day!
Best regards,
Sheng
View the original pos
Alright, just being curious, I went ahead and implemented a solution :) The
following blog post describes how it can be done:
http://solutionsfit.com/blog/2007/11/16/session-expired-messages-using-seam-security/
Hope it helps.
View the original post :
http://www.jboss.com/index.html?module=bb
anonymous wrote : The best option I can think of is putting a page in between
that simply displays something like "You have successfully logged out" and then
perform a meta redirect to the login page after a few seconds.
On second look, this should be further specified, sorry. The redirect is g
Hmm... yes, I suppose that would be the case if you redirected directly to the
login page after logout... I have not had to cover that case.
The best option I can think of is putting a page in between that simply
displays something like "You have successfully logged out" and then perform a
met
Good morning Jacob,
Thanks a lot for the suggestion again. It is nice to have a work-around before
a clean solution is implemented by the Seam development team. And I have
learned a lot about JSF phases and Seam messages/facesMessages with your code.
Now I have the message displayed correctly w
A JIRA issue has been raised:
http://jira.jboss.com/jira/browse/JBSEAM-2257
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105285#4105285
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105285
__
Jacob, we could add a specific session expired event to Seam as well as a new
session event. Please file a feature request with the code snippets you posted
above.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105259#4105259
Reply to the post :
http://www
"xshuang" wrote : Then I got another warning saying facesMessages cannot be
null. I checked the forum and one user says facesMessages is not available at
the RESTORE_VIEW phase.
Yes, you can maintain a list of custom messages in an appropriately scoped
component. Observe the event as you are
Sorry in my components.xml, I have the following setup:
event type="sessionExpired"
action expression="#{authenticator.sessionExpired}"
Thanks,
Sheng
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105208#4105208
Reply to the post :
http://www.jboss.com/ind
Sorry that don't know why some contents do not get displayed.
My components.xml is as follows:
Thanks,
Sheng
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105204#4105204
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
You need to use the tags
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105205#4105205
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105205
___
jboss-user mailing list
jboss
Good afternoon Jacob,
Thanks a lot for the reply. I followed your suggestion but still have a
problem. That is, I cannot add a message to be displayed on the logon page.
In my components.xml,
In my AuthenticatorAction, I have
public void sessionExpired() {
FacesMessage
You have to make some assumptions here, but you can basically notify the user
when the server session has ended with the following in a PhaseListener:
@Observer("org.jboss.seam.beforePhase")
| public void beforePhase(PhaseEvent event)
| {
| if(event.getPhaseId() == PhaseId.RESTORE_VIEW)
seems like a good intuitive idea, how do we get our apps to show session
expired message?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104429#4104429
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104429
Hi wquraishi,
Thanks a lot for your reply. However, I am using exactly the same configuration
as yours.
My question is how to differ session timeout from a newly created session. If I
bookmark a page requiring login, it is desired that the application redirects
me to the login page and the me
to restrict a page, in pages.xml:
|
|
to redirect to login page, when attempting to access a restricted page:
|
|
| Please log in first
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
16 matches
Mail list logo