wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes WebLogic 11g Custom Login Module & Data Provider problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "WebLogic 11g Custom Login Module & Data Provider problems" Watch "WebLogic 11g Custom Login Module & Data Provider problems" New topic
Author

WebLogic 11g Custom Login Module & Data Provider problems

christian leclerc
Ranch Hand

Joined: Apr 08, 2008
Posts: 38
Hello Group,
Im kind of new with WebLogic.
I have to make a proof of concept of a custom login module that will receive a crypted xml data to authenticate a user.

The xml data will have the application key of the caller, the username and the role.
This will authenticate the user in the application because the application that will ship the token will be trusted.

Ny ways, I have some difficulties to make this works.

I followed up this tutorial to make the provider work :

http://onjava.com/pub/a/onjava/excerpt/weblogic_chap17/index1.html?page=6

When I finish the code , and everything is compiling, I even see the provider in the admin console.
But when the server start then CRASH ! I've got this error non stop with one day of trying to make this work !


Error :


I've make the code in attachement too if someone can help me with that.

Anybody have some idea why this isn't working ?

Oh by the way the classes :

XmlCryptedDataAuthenticatorImpl.java
XmlCryptedDataAuthenticatorMBean.java

was generated with the xml



With the command :

java -DcreateStubs="true" weblogic.management.commo.WebLogicMBeanMaker -MDF ..\XmlCryptedDataProviderAutenticator.xml -files ../src/main/java

I add the jar file too when it will be make by this command :

java weblogic.management.commo.WebLogicMBeanMaker -MJF XmlCryptedDataProvider.jar -files .


Source : http://downloads.chriszone.net/weblogic-login-module.rar
Compiled jar : http://downloads.chriszone.net/XmlCryptedDataProvider.jar

If anybody have any comments or any suggestion ( other then dude make your java doc in your code .. I know its like an hello world prototype ) it will be nice because im really screwed up here.

Thanks

Chris









 
Consider Paul's rocket mass heater.
 
subject: WebLogic 11g Custom Login Module & Data Provider problems