As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<property name="custom:personAspect_lastLoginDate"> <type>d:date</type> </property> <property name="custom:personAspect_thisLoginDate"> <type>d:date</type> </property>
try { UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userName, new String(password)); authenticationManager.authenticate(authentication); // your custom Code here : if person exists and has not the custom Aspect, add it // update the custom properties : // custom:personAspect_lastLoginDate = custom:personAspect_thisLoginDate // custom:personAspect_thisLoginDate = new Date; setCurrentUser(userName); }