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 everybody. I hope someone can help me. Basically, there are two problems: one with shutting the laptop (Satellite L40-17U (Vista 32-bit Home Premium SP1) ) down when the power is connected, and one with closing the lid and putting it to sleep. 1. [More]
I am currently here at Philippines and my IPhone 4 was buy in Canada and I Can't Use it Because I'ts not been Unlock yet and I Want to know my Serial Number and I Don't Know if it is a Original or Fake Please help, I you say Connect to your computer [More]
Hiya I have a N95 8GB and when I try to connect it to my PC I get the error message that the mass memory is in use by another application. I have stopped all running applications. (there where none) Done a factory soft reset. No difference. Still can [More]
when im running the bc4j input date tag in a form, a jscript error comes up (object not found error)-> When i pick the date control. I have already checked the cabo directory and all files is there. The same enviroment in other developers PC�s works [More]
hi all I'm having problems with AD RMS.  Domain members computer is operating normally.  But  WORKGROUP computer is not able to connect to the AD RMS server.  AD RMS Cluster to ping is successful.  client registry settings are now complete.  [HKEY_LO [More]
Okay, I just bought my first Mac and iLife. I have a sony DVD cam corder, one of the early versions that does not have a fire wire connection. BUT, I do have an extra DVD burner with a firewire cable. Soooo, I finalize my mini DVD and insert it into [More]
Can Anybody explain me the difference between  a WEB service and a Enterprise Service?Hi Anilkumar K Naidu , Web service A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network u [More]
So I want to apply some media foundation effect to the backgoundmediaplayer samples before they get rendered. While this seems an obvious mission with the media stream source class, I do not really have the time to implement media stream sources for [More]
<p>hi</p><p>please correct me in this statement.</p><p>i am thinking that " transparent partition can has highestlevel of synchronization"</p><p>iam not sure on this</p><p>can anyone correct [More]
Need some help on layering images. As you can see, the "polaroid" has tape on it - I want that tape to overlap the menu bar. The menu bar is a grapic (there is a slight gradient to it) and on top of it are the actual menu graphics.  If I remove [More]