Oracle Weblogic Server (MOSC)

MOSC Banner

SOAPMessage in a LoginModule in weblogic 12c

edited Mar 24, 2013 3:28AM in Oracle Weblogic Server (MOSC) 3 commentsAnswered
 Hello.I'm trying to get the SOAPMessage from a LoginModule and thinking of using the ContextHandlerCallback feature, however this only returns null.
Sample code of what I try to do.

Callbacks[] callbacks = new Callback(){new NameCallback("username: "),new PasswordCallback("password: "),new ContextHandlerCallback()};
try{
callbackHandler.handle(callbacks);
}catch(Exception e){
}

chc = (ContextHandlerCallback) callbacks[2];

Doing chc.getContextHandler() is always null.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center