public static class Security.ChangePrincipalCallback.Default extends Callback.Default implements Security.ChangePrincipalCallback
Security.ChangePrincipalCallback
.
This simply logs onPrincipalChanged callback at 'debug' level onAuthenticationFailure at 'warn' level. These methods may be overridden as required.
Security.ChangePrincipalCallback.Default
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationFailure()
This will be called if an attempt to change the session principal
failed because authentication failed at the server.
|
void |
onPrincipalChanged()
This will be called when the session principal has been successfully
changed.
|
onDiscard
public void onPrincipalChanged()
Security.ChangePrincipalCallback
onPrincipalChanged
in interface Security.ChangePrincipalCallback
public void onAuthenticationFailure()
Security.ChangePrincipalCallback
onAuthenticationFailure
in interface Security.ChangePrincipalCallback
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.