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 don't understand why Disk Utility doesn't automatically run Verify & Repair after a resizing a disc partition.  This simple failure on my part (unGENIUSness) lead to additional failures on when I tried to run TIME MACHINE.  Time Machine never stopp [More]
Hi All, my concern is to convert from to another period format. For example: in my user-profile is setted the following format:  DD/MM/YYYY what i do input is a period with format: DD.MM.YYYY Does a FB exists in BW that can help with this task?hi, do [More]
Just upgraded to 10.5.8, and just can't make the OfficeJet print or scan. Any ideas? I've tried reinstalling the unit and taken some other steps that made sense to me.From: mailto:[email protected] Sent: Saturday, August 25, 2012 10:14 AM To: Colonel [More]
Hi, I've managed to get rid of horizontal scroll bars in a page in IE - and it looks fine in Safari too - but in Firefox there's a horizontal scroll bar. Any ideas how to get rid of that? It here: http://www.mywebspinners. com/garrigae/hr/index-F.php [More]
Hello all, As you can see from the attached pic, the full screen on safari is not convering completely my 13MBP screen on the lower side. The only way to fix it, is to switch off the full screen and then re-enable it. But it last just a couple of min [More]
Hi, I need a help in creating report. The situation is when we click the print button when the Picklist windows is there a default report appears with the contents. I want to create my own query and based on that want to create report which should be [More]
Using Keyframes in Color has been very confusing. Maybe my workflow isn`t the right one. Any suggestion will help: I have 3 to 4 minutes clips to color correct. Each clip has: - Primary corrections via Highlights Midtones Shadows and saturation. - 8 [More]
i can't drag any item into itunes, it seems lockedI found the problem. I have VMware fusion that is hosting Window XP on the iMac. When the fusion is running the CD player is not seen in OS. By quitting Fusion I can now insert a CD and the disk icon [More]
I would like to delete the .jpg extension from about 4000 version names (don't ask me how the extensions got added to the version names -- it's a long story), but the options in batch rename don't offer that option. Is there an applescript or some so [More]
hi,     i have problem while i try to pass my field catalog internal table to IT_FIELDCAT in REUSE_ALV_HIERSEQ_LIST_DISPLAY . FORM FIELD_CATALOG . CLEAR  WA_FIELDC. CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING     I_PROGRAM_NAME             [More]