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.
|
onDiscard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDiscard
public void onPrincipalChanged(C context)
Security.ChangePrincipalContextCallback
onPrincipalChanged
in interface Security.ChangePrincipalContextCallback<C>
context
- the context object supplied when making the call. May
be null
public void onAuthenticationFailure(C context)
Security.ChangePrincipalContextCallback
onAuthenticationFailure
in interface Security.ChangePrincipalContextCallback<C>
context
- the context object supplied when making the call. May
be null
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.