Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Password not supplied error in Authentication

 
prajakta patil
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am working on SPNEGO authentication using centrify and I am getting following exception
I have not added any user to myrealm and myrealm already have weblogic user. I have deloyed the sample application in same domain and it is working fine. but I am getting the problem for my application, please help.

javax.naming.AuthenticationException. Root exception is javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User PRAJKTA javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied at at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:228)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)

Thanks.

[ September 25, 2008: Message edited by: prajakta patil ]
[ September 25, 2008: Message edited by: prajakta patil ]
 
ankam shyamsundar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I have faced the same issue while restarting the server just we need to do some small changes

Try with the two options
Option 1)

1) goto servers/adminservers/security/boot.properties
just give your user name and Password (Dont keep empty) and restart the server and it is working on Production environment.

Option 2)

goto servers/adminservers/security/boot.properties

Keep Username and Password are empty when you will restart the server it will encrypt the username and password into boot.properties but i found this will work on normal env.

 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prajakta ,

Make sure that you have the krb5login.conf properly defined as below.

com.sun.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required
principal=”beawin@BEATEST.COM” useKeyTab=true
keyTab=beawin.keytab storeKey=true debug=false;
};

For a working example of Kerberos refer the below link.

http://weblogic-wonders.com/weblogic/2009/11/15/configuring-kerberos-with-weblogic-server/

Cheers,
Anandraj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic