Log In JavaAction

I have tried coding a custom log in action in order to have more freedom regarding the log in process. Is there a way I can log a client session I know about the login function that exists in Core but this only logs in on the server and doesn't update the client. What is an easy way of setting this or should I edit cookies? If this is the case what is the best way to do it?
2 answers

You can register your own login handler. You should take a look in the App Store, for example the 'LDAP Synchronization' or 'License Pool Manager' modules do this as well.


I have looked at several modules using customised login handlers. I wish to bypass the standard login handler (not create my own) and procedure used so that I can create a form or any other method that simply takes an input of username and password and then uses those details to create the client session and registers that on the server as well. Preferably in one java action. I want to be able to log in with a client using two fields password and username the source of the username and password is not important.