|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.security.XMACallbackHandler
Generic callback handler.
This callback handler is passed to every LoginModule which is used as client side authentication plugin.
It supports NameCallback, PasswordCallback, TextInputCallback, TextOutputCallback, ChallengeCallback.
From the callbacks defined in JAAS only LanguageCallback is not supported.
For every CallengeCallback a server communication is established and the server side
authentication plugin is asked for a challenge by calling LoginModuleServer.getPreLoginInfo(javax.servlet.http.HttpSession) via the
LoginServlet.
All other callbacks are handled with user interface dialog which contains an input field for every callback.
| Constructor Summary | |
XMACallbackHandler(XMASessionClient session)
Constructor This method is intended to be called only be the XMA runtime. |
|
| Method Summary | |
boolean |
getExitstatus()
Returns the exitStatus of the login dialog. |
XMASessionClient |
getSession()
|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handle the callbacks. |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Eventmethod called by SWT every time a widget is double clicked. |
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Eventmethod called by SWT every time a widget is selcted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMACallbackHandler(XMASessionClient session)
session - the XMA session it belongs to.| Method Detail |
public void handle(javax.security.auth.callback.Callback[] callbacks)
throws javax.security.auth.callback.UnsupportedCallbackException
ChallengeCallback.
Other callbacks are not supported.
handle in interface javax.security.auth.callback.CallbackHandlercallbacks - the callbacks to handle.
javax.security.auth.callback.UnsupportedCallbackException - if callbacks contains any unsupported Callback.public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
widgetSelected in interface org.eclipse.swt.events.SelectionListenere - the event object passed by SWT.public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListenere - the event object passed by SWT.public XMASessionClient getSession()
public boolean getExitstatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||