Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Password not supplied error in Authentication

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Even i am facing the same issue:
javax.security.auth.login.LoginException: [Security:090304]Authentication Failed: User  javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied

Any help?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My issue was that I had started a different domain using my CMD window and then started another domain with the same CMD window. So some environment variable was causing the issue. I reopened CMD in my new domain's bin folder and executed startWeblogic.cmd and the issue went away.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic