public interface AccountManagement
Modifier and Type | Method and Description |
---|---|
boolean |
isAccountManaged(String username) |
void |
loginImplicitAccount()
Performs a login using a system user.
|
void |
loginManagedAccount(String username,
String password) |
void |
loginUnManagedAccount(String username,
String password) |
void |
logOut() |
void |
update(UserSpec spec) |
boolean isAccountManaged(String username) throws MetaClientException
MetaClientException
- for all sorts of reasonsvoid loginManagedAccount(String username, String password) throws MetaClientException
MetaClientException
- for all sorts of reasonsvoid loginUnManagedAccount(String username, String password) throws MetaClientException
MetaClientException
- for all sorts of reasonsvoid loginImplicitAccount() throws MetaClientException
kinit
or a similar utility is used.
When this login method is used, loginUnManagedAccount(String, String)
and
loginManagedAccount(String, String)
must not be used. Additionally, a custom server URL must be provided
using NativeMetaClient.Builder.server(String)
.
MetaClientException
- for all sorts of reasons.loginManagedAccount(String, String)
,
loginUnManagedAccount(String, String)
void logOut()
void update(UserSpec spec) throws MetaClientException
MetaClientException
- for all sorts of reasons