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
I have "secondary-click"(right) activated on the "magic mouse" and it's great if I want to open a drop-down list on a page. However, on the "mighty-mouse" which I had before, the "right-click" was set up to act as a [More]
I bought this computer from my brother and wiped the hd and kept it to sell.  So I installed a 256 ssd.  Problem is when I try to install lion it wont let me.  I made a bootable install flash drive and hold alt at boot up and when the screen appears [More]
The 6.0.1 version does not support AI Roboform, the one before does. When I accepted the 6.0.1 update, I was in a hurry and missed the disclaimer. I really need Roboform. All I want to do is go back to the previous version, or figure out a better way [More]
I've just bought a 23" for photography. The problem is that there is a hot green pixel in the middle of the screen which makes calibration with my spyder2 calibrator an issue : It's hard to get around the calibration zone (which displays the color th [More]
I purchased an online number to replace my normal landline, and it is not working after a day, I was not asked to verify it, the system said it would be up and running immediatly, I ring the number from a land line, it rings once then goes into an en [More]
Hi all, i just got my mp3 player MuVo N200 just 2 weeks back.. when i started downloading music to the mp3 player it would just switch on and switch off by it self..i realised that i was because i hadn't downloaded the songs properly to the player..f [More]
I am looking for a replacement to my ATI Radeon 9600 XT card so I can fully exploit the new Photoshop CS4 features. It should be an AGP card (or will an PCI card work, too?) I guess and have at least 256Mb RAM. And I have seen that there's not a lot [More]
Is there anyway to audit the access points in FC mode to determine the WLAN-VLAN mapping and if it is AP or WLAN specific? or Is there a script that I can run to make the WLAN-VLAN mappings on all FC mode APs AP-Specific?Thanks for the fast reply. He [More]
Will not start up. I've rebooted in safe mode and still no go. Error message: Process:         Adobe Illustrator [424] Path:            /Applications/Adobe Illustrator CC 2014/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator Identifier:      co [More]
I recieved a few free audiobooks in magazines & cereal boxes! If I had the 'AUDIOBOOK ICON' in the source list, I could import the books straight to there!!! Any wizards have the answers ?????http://www.apple.com/itunes/audiobooks/ Right hand box 'iT [More]