• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebLogic 11g Custom Login Module & Data Provider problems

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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









 
reply
    Bookmark Topic Watch Topic
  • New Topic