I'm trying to write my own userPortlet. It must be jsf portlet. I am registering users using usermodule and also store my specific registartion information i my Databese table. evrything works fine. i have only problems with logout. I have in my jsf managed bean:
public void logout(ActionEvent event){
ExternalContext context = FacesContext.getCurrentInstance().getExternalContext();
JBossActionResponse respone = (JBossActionResponse) context.getResponse();
respone.signOut();
}<h:commandLink value="logout" actionListener="#{bean.logout}" ></h:commandLink>