public class JsonIdentityBackend extends AbstractIdentityBackend
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_IDENTITY_BACKEND_DIR |
| Constructor and Description |
|---|
JsonIdentityBackend() |
JsonIdentityBackend(Config config)
Constructing an instance using specified config that contains anything
to be used to initialize the json format database.
|
| Modifier and Type | Method and Description |
|---|---|
protected KrbIdentity |
doAddIdentity(KrbIdentity identity) |
protected void |
doDeleteIdentity(String principalName) |
protected Iterable<String> |
doGetIdentities() |
protected KrbIdentity |
doGetIdentity(String principalName) |
protected void |
doInitialize() |
protected KrbIdentity |
doUpdateIdentity(KrbIdentity identity) |
BatchTrans |
startBatchTrans() |
boolean |
supportBatchTrans() |
addIdentity, deleteIdentity, doGetIdentityAuthorizationData, doRelease, doStart, doStop, getBackendConfig, getIdentities, getIdentity, getIdentityAuthorizationData, initialize, release, start, stop, updateIdentitygetConfig, setConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfig, setConfigpublic static final String JSON_IDENTITY_BACKEND_DIR
public JsonIdentityBackend()
public JsonIdentityBackend(Config config)
config - The configuration for json identity backendpublic boolean supportBatchTrans()
supportBatchTrans in interface IdentityServicesupportBatchTrans in class AbstractIdentityBackendpublic BatchTrans startBatchTrans() throws org.apache.kerby.kerberos.kerb.KrbException
startBatchTrans in interface IdentityServicestartBatchTrans in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected void doInitialize()
throws org.apache.kerby.kerberos.kerb.KrbException
doInitialize in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected KrbIdentity doGetIdentity(String principalName) throws org.apache.kerby.kerberos.kerb.KrbException
doGetIdentity in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected KrbIdentity doAddIdentity(KrbIdentity identity) throws org.apache.kerby.kerberos.kerb.KrbException
doAddIdentity in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected KrbIdentity doUpdateIdentity(KrbIdentity identity) throws org.apache.kerby.kerberos.kerb.KrbException
doUpdateIdentity in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected void doDeleteIdentity(String principalName) throws org.apache.kerby.kerberos.kerb.KrbException
doDeleteIdentity in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionprotected Iterable<String> doGetIdentities() throws org.apache.kerby.kerberos.kerb.KrbException
doGetIdentities in class AbstractIdentityBackendorg.apache.kerby.kerberos.kerb.KrbExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.