C - context object typepublic static class Security.ChangePrincipalContextCallback.Default<C> extends ContextCallback.Default<C> implements Security.ChangePrincipalContextCallback<C>
Security.ChangePrincipalContextCallback.
This simply logs onPrincipalChanged callback at 'debug' level onAuthenticationFailure at 'warn' level. These methods may be overridden as required.
Security.ChangePrincipalContextCallback.Default<C>| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationFailure(C context)
This will be called if an attempt to change the session principal
failed because authentication failed at the server.
|
void |
onPrincipalChanged(C context)
Notification that a request to change the session principal was
successful.
|
onDiscardclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonDiscardpublic void onPrincipalChanged(C context)
Security.ChangePrincipalContextCallbackonPrincipalChanged in interface Security.ChangePrincipalContextCallback<C>context - the context object supplied when making the call. May
be nullpublic void onAuthenticationFailure(C context)
Security.ChangePrincipalContextCallbackonAuthenticationFailure in interface Security.ChangePrincipalContextCallback<C>context - the context object supplied when making the call. May
be nullCopyright © 2024 DiffusionData Limited. All rights reserved.