Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » missing something in my RAP/JAAS testing site
missing something in my RAP/JAAS testing site [message #645381] Thu, 16 December 2010 21:13 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
I am trying to add a login to my RAP app, similar to the example in the tutorial;

However my login diaglog never appears, it falls straight through to the LoginException

It is finding my LoginModule and calling login(), however it seems that the intialize() method gets null passed to it, during start-up;
public class DummyLoginModule implements {


  public void initialize( Subject subject,
                          CallbackHandler callbackHandler,
                          Map sharedState,
                          Map options )
    this.subject = subject;
    System.out.println("callbackHandler is "+callbackHandler);
    this.callbackHandler = callbackHandler;

This is always null. I presume that initialize is called during the RAP initialization? and depends on my plugin.xml.

Here is my plugin.xml, and i copied most of it from the example;

            description="Dummy LoginModule">

the demo works ok, so I assume that my target is set correctly.

[Updated on: Thu, 16 December 2010 21:15]

Report message to a moderator

Re: missing something in my RAP/JAAS testing site [message #871041 is a reply to message #645381] Thu, 10 May 2012 15:48 Go to previous message
Martin Schubert is currently offline Martin SchubertFriend
Messages: 1
Registered: May 2012
Junior Member
Hi Tom,
did you ever find out what the problem was? I'm having the same problem and I couldn't find any solution.
Previous Topic:Deploy standalone RAP
Next Topic:White page after redirection
Goto Forum:

Current Time: Tue Dec 07 12:43:09 GMT 2021

Powered by FUDForum. Page generated in 0.02621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top