Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes BEA/Weblogic and the fly likes Weblogic CustomAuthentication Provider => how to write junit test cases  ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic CustomAuthentication Provider => how to write junit test cases  ?" Watch "Weblogic CustomAuthentication Provider => how to write junit test cases  ?" New topic
Author

Weblogic CustomAuthentication Provider => how to write junit test cases ?

Arpit Goel
Greenhorn

Joined: Nov 03, 2008
Posts: 9
I have build a Weblogic Custom Authentication Provider with Login module and Custom Identity Aseerter. I have this code as a core java project which is deployed using Maven to weblogic server mbeans.

How can I unit test this code using junit , my concern is how to have weblogic runtime environment like I do have call back handlers and also loginModule is called behind the scene b WebLogic ? Any help or pointer would be great ?


Arpit Goel
 
wood burning stoves
 
subject: Weblogic CustomAuthentication Provider => how to write junit test cases ?
 
Similar Threads
JUNIT to test EJB
WebLogic Security - Problems whle calling weblogic custom Authentication
junit => How to test WebLogic Custom Authenticator Provider and Asserter....
Ant 1.7 + Junit 4 problems
Junit test case for webservice consumed using weblogic