Sitemap

Amicuk Programming Answers

WL-JAAS-No Configuration was registered that can handle the configuration

-0001-11-30   Views:0

Advertisement

Hi, A) I am trying to run JAAS on Weblogic. We have got our own login module developed based on JAAS specification. I have created jas.config which is as follows: abcjaas { <pkg>.DBLoginModule required which I have included in the system properties

Hi,
A) I am trying to run JAAS on Weblogic. We have got our own login module developed based on JAAS specification.
I have created jas.config which is as follows:
abcjaas {
<pkg>.DBLoginModule required
which I have included in the system properties as
set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.security.auth.login.config=D:\BeaWL\jaas.config
B) I had also tried setting this
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlogin.configuration.provider=com.bea.common.security.jdkutils.JAASConfiguration. This I have also tried configuring in the java.security file in the JDK folder.
While in Java code, it precisly throws error here on this statement:
loginContext = new LoginContext("abcjaas", callHandler);
But for all the above trials, it gives the same error as follows:
C)
Inside : Authenticator ::authenticateUser()....
<Sep 10, 2009 2:32:49 PM IST> <Error> <HTTP> <BEA-101020> <[[email protected] - appName: CommercialLines_EAR', name: 'App', context-path: '/App', spec-version: '2.5'] Servlet failed with Exception
java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named abcjaas
at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:124)
at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
at <pkg>.Authenticator.authenticateUser(Authenticator.java:38)
at <pkg>.LoginFilter.doFilter(LoginFilter.java:40)
Truncated. see log file for complete stacktrace
>
D) Kindly help, the Weblogic 10.3.0.0 running on JDK1.6 -Sun provided. I am not using the JDK1.6 in WL10.3 or its Jrockit1.6.
Please let me know the resolution.
Cheers,
-Vishal Kumar

The replay answer
Advertisement
I came across the potential fix through the document: http://docs.oracle.com/cd/E23717_01/doc.71/e23699/adm_troubleshoot.htm#BABIHJJF . The fix works fine.
However I would like a better explanation of the issue and the fix. The issue happens only on Solaris servers that run sftp, but not on linux servers.

Go to See the other 3 answers

WL-JAAS-No Configuration was registered that can handle the configuration

Category:DefaultRelease time:-0001-11-30Views:130

Hi, A) I am trying to run JAAS on Weblogic. We have got our own login module developed based on JAAS specification. I have created jas.config which is as follows: abcjaas { <pkg>.DBLoginModule required which I have included in the system properties[More]

Weblogic 8.1 JAAS login.configuration.provider from java.security does not seem to work?

Category:DefaultRelease time:-0001-11-30Views:130

We configure a custom implementation of the JAAS javax.security.auth.login.Configuration class for our applications security framework in JRE_LIB/security/java.security using the entry login.configuration.provider=com.foo.SecurityConfiguration Howeve[More]

JAAS role configuration

Category:DefaultRelease time:-0001-11-30Views:130

im planning to make my web application secured by declarative security method i had configuired few roles in my web.xml i made a login page and from there im triggering JAAS which is returning me with the subject which contains a principle which i ex[More]

On which physical server do I register my ALERT HANDLER in SP2010/SP2013?

Category:DefaultRelease time:-0001-11-30Views:130

I wrote an alert handler to customize alerts. The way to register mentions to basically add the .dll in the GAC and then to launch an STSADM comand to modify the alert template XML. However it does not mention the case in which you have multiple Fron[More]

JAAS: location of Configuration, LoginModule classes

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I've created a custom JAAS implementation (Configuration & LoginModule classes) for use in a web-environment (Tomcat + Expresso). Question: at the moment, my set-up will only work with Tomcat and a very simple non-Expresso web-app, if and only if[More]

Use custom JAAS LoginModule without UME - possible?

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I want to deploy an application that internally makes use of JAAS to authenticate users. There is a LoginModule that authenticates users against some database tables containing all the user data and profile. The application was not designed t[More]

Errors configuring the Web Service Runtime

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, I'm trying to configure the Web Service Runtime using SRT_ADMIN on SAP Netweaver Trial 7.02. I have almost everything working, except three things. I ran SRT_ADMIN_CHECK and i got the following messages: Checking cross-system settings bgRFC d[More]

Using other drivers' interrupt/register maps

Category:DefaultRelease time:-0001-11-30Views:130

2 related nasty low-level driver questions: Lets say I wanted to have one driver handle hardware interrupts for another driver that actualy binds to the hardware. ("bottom" == driver attached to hardware "top" == driver that wants to h[More]

JAAS -Incorrect address format-Heimdal

Category:DefaultRelease time:-0001-11-30Views:130

hello, I am trying to execute the jaas authentication tutorial sited in the following url: " http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/AcnOnly.html ". But when I set the "useTicketCache" option to true in the ja[More]

JAAS Authentication Programmatically

Category:DefaultRelease time:-0001-11-30Views:130

On Web sphere I have defined a JAAS Authentication Entry with an Alias, Username and Password. There are 2 � 3 applications running on this instance of the server. From one of these applications I would like verify the username and password as in �JA[More]

Using JAAS on an Application Client Container

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to authenticate users who are going to be accessing EJBs from an Application Client Container developed using AWT/Swing. I am able to authenticate users accessing these EJBs via the Web Client. But some how I get the following error when[More]

Hot
Hi there! I want to integrate Airplay technology in a new and innovative Speaker System. I've searched the internet, but couldn't find anything. Does anybody know how to get the permission to use it?Apple 1 Infinite Loop Cupertino, CA 95014 408.996.1 [More]
Hi friends, i have tried to install ms sql 2012 on windows 8.1 pro 64 bit  but it got failed due to the following error 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support person [More]
Migrated from Snow Leopard to Mavericks and the address book shows no contacts. The data appears to have been correctly imported into my user folder > library > application support > address book folder (but the icons show up as "Unix / Term [More]
well friends,  after powering on my playbook and when i put it on standby mode.. to again work on it vn i press the power button, it doesnt work. i need 2 swipe on d screen 2 gt it started.. what is the problem.. cn ne1 help me..Did you try the proce [More]
I had movies stored on my mac (the latest imac)and converted and loaded them into itunes and then synced my iphone. BUT now I can't find the darn movies. I was hoping to have access for travelling over the holiday. How do I find the movies on my ipho [More]
Hi,  Can you please tell me the way how to display Tcodes infront of each menu item on bw screen. Like modelling Rsa1 I know this is possible as i have seen it myself and i tried a lot to find. Plz help. Prashant singhalHi, In Bottom of your screen t [More]
Sorry to post this topic twice. Somehow my previous thread was deleted? - and contained very useful information from Shane and others, with specific recommendations, such as the Panasonic P2 DVDPro HD camera. Again, this is for an extended project to [More]
For those who may be interested, LJ's recent blog post describes how to deploy mapviewer (11.1.1.5) on websphere 7. http://oraclemaps.blogspot.com/2011/07/deploying-mapviewer-on-ibm-websphere-7.htmlI am sorry you feel uncomfortable about the license [More]
My computer and my iPod were stolen at the same time. I have reinstalled iTunes on my new computer and recently got a new iPod. I can't access any of the songs I originally bought on iTunes to download on my new iPod. Is this even possible? There is [More]
I have Windows 7 on a PC and my printer suddenly is missing the scanner option. I may need a driver to get it back.Hi nancyhird, Welcome to the HP Support Forums! I understand the printer is suddenly missing the scan option on your HP Photosmart C428 [More]