jQuery in Action, 2nd edition*
The moose likes BEA/Weblogic and the fly likes Password not supplied error in Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Password not supplied error in Authentication" Watch "Password not supplied error in Authentication" New topic
Author

Password not supplied error in Authentication

prajakta patil
Ranch Hand

Joined: Dec 11, 2005
Posts: 30
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

Joined: Jan 28, 2012
Posts: 15
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

Joined: Feb 22, 2011
Posts: 98

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


Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Password not supplied error in Authentication
 
Similar Threads
JMS stand alone application
war, weblogic 8.1 and security realm's
Password not Supplied and AuthenticationException
JNDI Properties for Oracle 10g AS(904)
MQJMS2013: invalid security authentication supplied for MQQueueManager