Again, im really thankful for Your time and answers, but ive still got some problems with secure hash.
My idea is to get Login and Password from POST parameter, and then hash (sha256) Password using Secure Hash (because password is hashed in database). Those steps are placed in Callable Service.
I realize that Secure Hash requiers Data which must be in binary type, so I have to convert Password into Binary first. Unfortunately, when Im trying to hash Password (converted to binary), i get error:
A processing error has occurred:java.lang.UnsupportedOperationException: Attempt to create binary data from a stringError Location: null
Here is application which is showing my way of thinking:
Darek Gorecki / neoprimus.com
For best results, use the Firefox browser..