public interface ReauthenticateHandler
| Modifier and Type | Method | Description |
|---|---|---|
void |
reauthenticate(KVStore kvstore) |
Attempts to re-authenticate a kvstore handle.
|
void reauthenticate(KVStore kvstore) throws java.lang.RuntimeException
This method should typically handle any FaultExceptions
thrown by any calls made by its implementation. Any runtime exceptions
thrown by this method will cause the original operation to fail by
rethrowing an exception that will be seen by the application. If the
FaultException thrown by the reauthenticate method is a
KVSecurityException then the exception re-thrown to the application is
the original AuthenticationRequiredException, otherwise the exception
thrown by the reauthenticate method is re-thrown to the application.
kvstore - The KVStore instance that requires reauthenticationjava.lang.RuntimeException - if the reauthentication failedCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.