Hi, I'm extending ActiveDirectoryRealm to check if there is also a user withe the given username in my DB. I have to override doGetAuthenticationInfo in the Realm to do it. Everything is fine except that "remember me" doesn't work. I have the following last two lines of code:
account = new SimpleAccount(user, authenticationInfo.getCredentials() , "CustomActiveDirectoryRealm") return account Where user is an object from my domain, which gives me information like the full name, id, etc. Although this code works, "remembe me" doesn't: everytime I close the browser I have to authenticate again. However, if I create the SimpleAccount with a String username instead of the object user, everything works fine, including "remember me". But I really need to use an object and keep there all the information about the user (ej: <shiro:principal property="fullName" />). Does anyone know why this happend? Am I doing something wrong or skipping something? Any workaround? - Using Groovy/Grails - Thanks, Juan Solo -- View this message in context: http://n2.nabble.com/Remember-me-problems-with-object-in-SimpleAccount-tp4817122p4817122.html Sent from the Shiro User mailing list archive at Nabble.com.
