|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialSecretFactory
Factory to create the appropriate secret. This factory is needed to instantiate the appropriate secret class in the getCredential method of a custom Vault Adapter.
To get the right context use:
InitialContext ctx = new InitialContext();
CredentialSecretFactory cSF = (CredentialSecretFactory)ctx.lookup(VaultAdapterDN.VAULT_SECRET_CONTEXT);
cSF.createSecret(secretType);
CredentialSecret
,
VaultAdapterDN
Method Summary | |
---|---|
CredentialSecret |
createSecret(int secretType)
Utility method. |
Method Detail |
---|
CredentialSecret createSecret(int secretType)
secretType
- The credential Secret Type identifier.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |