public class CacheableIdentityService extends Configured implements IdentityService
| Constructor and Description |
|---|
CacheableIdentityService(Config config,
IdentityService underlying) |
| Modifier and Type | Method and Description |
|---|---|
KrbIdentity |
addIdentity(KrbIdentity identity)
Add an identity, and return the newly created result.
|
void |
deleteIdentity(String principalName)
Delete the identity specified by principal name
|
Iterable<String> |
getIdentities()
Get all of the identity principal names.
|
KrbIdentity |
getIdentity(String principalName)
Get the identity account specified by name.
|
BatchTrans |
startBatchTrans()
Start a transaction.
|
boolean |
supportBatchTrans()
Query to know if xtrans is supported or not.
|
KrbIdentity |
updateIdentity(KrbIdentity identity)
Update an identity, and return the updated result.
|
getConfig, setConfigpublic CacheableIdentityService(Config config, IdentityService underlying)
public boolean supportBatchTrans()
supportBatchTrans in interface IdentityServicepublic BatchTrans startBatchTrans() throws KrbException
startBatchTrans in interface IdentityServiceKrbExceptionpublic Iterable<String> getIdentities() throws KrbException
getIdentities in interface IdentityServiceKrbException - epublic KrbIdentity getIdentity(String principalName) throws KrbException
getIdentity in interface IdentityServiceprincipalName - The principal nameKrbException - epublic KrbIdentity addIdentity(KrbIdentity identity) throws KrbException
addIdentity in interface IdentityServiceidentity - The identityKrbException - epublic KrbIdentity updateIdentity(KrbIdentity identity) throws KrbException
updateIdentity in interface IdentityServiceidentity - The identityKrbException - epublic void deleteIdentity(String principalName) throws KrbException
deleteIdentity in interface IdentityServiceprincipalName - The principal nameKrbException - eCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.