Our deployment keeps getting an odd SECJ0118E exception when authenticating with Form authentication with Mozilla or Chrome browser not configured for Active Directory Domain.
All instructions into WebSphere infocenter for enabling fallback to default authentication were correctly applied. We noticed that standard WebSphere security tracing (*=info:com.ibm.ws.security.*=all:com.ibm.websphere.security.*=all:com.ibm.websphere.wim.*=all:com.ibm.wsspi.wim.*=all:com.ibm.ws.wim.*=all)
provided into trace a lot of Kerberos exceptions.
[30/12/13 17.36.57:246 CET] 0000005e Krb5LoginModu < login() Exit
javax.security.auth.login.FailedLoginException: Errore di login: com.ibm.security.krb5.KrbException, codice di stato: 68
Double checking WebSphere security settings we noticed that Authentication mechanism was mistakenly set to Kerberos and LTPA instead of simple LTPA, as suggested for SPNEGO.
Reverting back to simple LTPA fixed everything.
| Recent Blog Posts
Do you miss "Expressions" view while debugging in Eclipse?|
Sun, Jun 25th 2017 4:19p Francesco De Collibus
From time to time, I forget where the expression view can be set in Eclipse... it's right here in the Window panel
View by projects or working sets in Eclipse|
Tue, May 23rd 2017 12:37p Francesco De Collibus
View by projects or working sets in Eclipse...always comes in handy!
Hybris setup issue: Unsupported major.minor version 52.0 |
Thu, Mar 23rd 2017 3:49p Francesco De Collibus
While I was typing the final "ant all" command for hybris, it miserably failed with the following exception hybris/bin/platform/resources/ant/antmacros.xml:123: java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) Even though a "java -version" gave me back version 8, ant is still using $JAVA_HOME variable. So you have to change it into the script. My suggestion is that y
If you can't install Oracle Express XE 11g 2 on Windows...|
Wed, Mar 22nd 2017 10:26p Francesco De Collibus
I spent the whole afternoon trying to set up a Oracle Express instance without any success. I had the drivers installed, but I could not uninstall them. It looked like the main instance was not correctly set up. After looking around, I noticed that even after complete uninstall of Oracle XE still the ORACLE_HOME environment variable was still there. I tried again manually removing it from System Variables and then reinstalling... and it finally worked!
How could I be so stupid using hibernate criteria with timestamp? |
Wed, Aug 31st 2016 8:06p Francesco De Collibus
I needed to make a query to find all records valid today for columns with effectiveFrom and effectiveTo range I spent a couple of hours trying to understand why criteria.add(Restrictions.ge("effectiveFrom",currentDate.getTime())); criteria.add(Restrictions.le("effectiveTo",currentDate.getTime())); was giving no results. After many trials and attempts with other criteria tricks, I remembered that hibernate is not comparting if currentDate.getTime is greater than ef