Interface IdentityBackend
- All Superinterfaces:
org.apache.kerby.config.Configurable,IdentityService
- All Known Implementing Classes:
AbstractIdentityBackend,MemoryIdentityBackend
Identity backend for KDC, either internal embedded or external standalone.
-
Method Summary
Modifier and TypeMethodDescriptionvoidInit work for the backend can be done here.voidrelease()Release the backend associated resources like connection.voidstart()Start the backend and return soon after the backend or the connection to it is well prepared and ready for KDC to use.voidstop()Stop the backend.Methods inherited from interface org.apache.kerby.config.Configurable
getConfig, setConfigMethods inherited from interface org.apache.kerby.kerberos.kerb.identity.IdentityService
addIdentity, deleteIdentity, getIdentities, getIdentity, getIdentityAuthorizationData, startBatchTrans, supportBatchTrans, updateIdentity
-
Method Details
-
initialize
void initialize() throws org.apache.kerby.kerberos.kerb.KrbExceptionInit work for the backend can be done here.- Throws:
org.apache.kerby.kerberos.kerb.KrbException- e
-
start
void start()Start the backend and return soon after the backend or the connection to it is well prepared and ready for KDC to use. Will be called during KDC startup. -
stop
void stop() throws org.apache.kerby.kerberos.kerb.KrbExceptionStop the backend. Will be called during KDC stop.- Throws:
org.apache.kerby.kerberos.kerb.KrbException- e
-
release
void release()Release the backend associated resources like connection. Will be called during KDC shutdown.
-