Hi, I'm developing JSF web application using Sybase Anywhere 12.0.1 and GlassFish web container. I've properly configured connection pool on GlassFish server side. By now, everything works fine. I'm able to login to database (authenticate) and make queries, inserts, updates (using JPA). My question is - whether it is possible to monitor pre-login handshake proccess initialized by GlassFish server? What for? I would like to log/save in database unsuccessful login trials. By now, these issuses are logged in GlassFish log file.
You can log failed connect attempts with the help of an event of type ConnectFailed.
There's a sample "SecurityCheck" within the v12.0.1 doc set:
An alternative might be to use auditing to report failing connects.
answered 18 Mar '16, 06:15