RememberMe not working for me
mzuzik Apr 23, 2009 8:58 PMHi there,
The RememberMe functionality doesn't seem to be working for me. I am wondering what configuration or code I may haveincorrectly implemented.
We are running SEAM 2.1.1.GA on JBOSS 4.2.3 and testing on Firefox 3.0.8.
The RememberMe funtionality on login is currently not working for us.
We have configured security identity in components.xml like this:
<security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="LdapToActiveDirectory" remember-me="true"/>
In login.xhtml, we have the following code:
<h:form style="width:450px; margin: 15px;"> <p style="padding-top: 15px">Enter your username and password below to login</p> <div style="margin-top: 24px;margin-right: 45px;"> <div class="value"> <label>User Name</label> <div class="inputRadio"> <h:inputText value="#{identity.username}" size="45"/> </div> </div> <div class="value"> <label>Password</label> <div class="inputRadio"> <h:inputSecret value="#{identity.password}" redisplay="true" size="45"/> </div> </div> <div class="value"> <label>Remember User Name</label> <div class="inputRadio"> <input name="asdf" type="checkbox" value="#{identity.rememberMe}"/> </div> </div> <div style="clear:both"></div> <div class="button" style="margin-left: 170px"> <h:commandButton action="#{identity.login}" id="submitButton" value="Login"> <s:defaultAction /></h:commandButton> </div> </div> <input type="submit" style="display:none"/> </h:form>
Thank you for any insight or help you are able to offer.
Cheers,
Michelle